@@ -1,5 +1,7 @@
#undef TRACE_SYSTEM
+#undef TRACE_CONFIG
#define TRACE_SYSTEM power
+#define TRACE_CONFIG CONFIG_POWER_TRACER
#if !defined(_TRACE_POWER_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_POWER_H
@@ -430,6 +430,15 @@ config TIMER_TRACER
If unsure, say N
+config POWER_TRACER
+ bool "Trace power events"
+ select GENERIC_TRACER
+ help
+ Provide trace points for events like changing CPU frequency,
+ turning CPUs on / off.
+
+ If unsure, say N
+
config WORKQUEUE_TRACER
bool "Trace workqueues"
select GENERIC_TRACER