summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorVikram Mulukutla <markivx@codeaurora.org>2016-03-17 17:25:34 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:26:00 -0700
commit0a9cabdc2afe9d3fcf3b4ad41573a18f73c2dcc2 (patch)
treec8541e9a7a6a94402d3b42dba3b6bb7442abb038 /include/soc
parent6c98c21f9e7253ba25b831bd13852e295b341cfa (diff)
soc: qcom: core_ctl: Add a tracing function
The core control module requires tracing capability. Export a function that will allow new events to be added in an extensible fashion without a compile-time dependency. Change-Id: I807d1ec4a104d8289441512b61e5e26df291525b Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/qcom/core_ctl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/soc/qcom/core_ctl.h b/include/soc/qcom/core_ctl.h
index 39bce9fc8fdd..08b43058b37c 100644
--- a/include/soc/qcom/core_ctl.h
+++ b/include/soc/qcom/core_ctl.h
@@ -14,6 +14,12 @@
#ifndef __SOC_QCOM_CORE_CTL_H
#define __SOC_QCOM_CORE_CTL_H
+enum {
+ CORE_CTL_EVAL_NEED,
+ CORE_CTL_SET_BUSY,
+ CORE_CTL_N_TRACE_EVENTS,
+};
+
extern void core_ctl_block_hotplug(void);
extern void core_ctl_unblock_hotplug(void);
extern s64 core_ctl_get_time(void);
@@ -23,4 +29,7 @@ extern struct device *core_ctl_find_cpu_device(unsigned cpu);
extern int core_ctl_online_core(unsigned int cpu);
extern int core_ctl_offline_core(unsigned int cpu);
+#define USE_CORE_CTL_TRACE
+extern void core_ctl_trace(int type, int cpu, int arg1, int arg2, int arg3);
+
#endif