Skip to contentSkip to conversation

export suspend_resume trace event

PATCH In review Todd E Brandt 2 participants 2 messages Dec 13, 2014 – Dec 14, 2014 Tracing

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 export suspend_resume trace event

Export the suspend_resume tracepoint so it can be used in loadable modules.

----

 kernel/trace/power-traces.c | 1 +
 1 file changed, 1 insertion(+)
kernel/trace/power-traces.c +1 -0
index 1c71382..eb4220a 100644
@@ -13,5 +13,6 @@
 #define CREATE_TRACE_POINTS
 #include <trace/events/power.h>
 
+EXPORT_TRACEPOINT_SYMBOL_GPL(suspend_resume);
 EXPORT_TRACEPOINT_SYMBOL_GPL(cpu_idle);
 
#1 lore raw
Quoted 4 lines · Todd E Brandt

Export the suspend_resume tracepoint so it can be used in loadable modules.

I'm going to queue this up for 3.20 some time after the 3.19 merge window ends.

Quoted 19 lines

----

 kernel/trace/power-traces.c | 1 +
 1 file changed, 1 insertion(+)
kernel/trace/power-traces.c +1 -1
index 1c71382..eb4220a 100644
@@ -13,5 +13,6 @@
 #define CREATE_TRACE_POINTS
 #include <trace/events/power.h>
 
+EXPORT_TRACEPOINT_SYMBOL_GPL(suspend_resume);
 EXPORT_TRACEPOINT_SYMBOL_GPL(cpu_idle);
 
--

To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.