summaryrefslogtreecommitdiff
path: root/include/trace/events/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/events/power.h')
-rw-r--r--include/trace/events/power.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/trace/events/power.h b/include/trace/events/power.h
index 5b503e9b661c..a6be189a2b5f 100644
--- a/include/trace/events/power.h
+++ b/include/trace/events/power.h
@@ -306,6 +306,20 @@ DEFINE_EVENT(clock, clock_set_rate,
TP_ARGS(name, state, cpu_id)
);
+DEFINE_EVENT(clock, clock_lock,
+
+ TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id),
+
+ TP_ARGS(name, state, cpu_id)
+);
+
+DEFINE_EVENT(clock, clock_unlock,
+
+ TP_PROTO(const char *name, unsigned int state, unsigned int cpu_id),
+
+ TP_ARGS(name, state, cpu_id)
+);
+
/*
* The power domain events are used for power domains transitions
*/