The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] perf: export power_start and power_end tracepoints
@ 2011-05-13 14:43 jean.pihet
  2011-05-13 14:48 ` Ingo Molnar
  0 siblings, 1 reply; 5+ messages in thread
From: jean.pihet @ 2011-05-13 14:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: Thomas Renninger, Ingo Molnar, Jean Pihet

From: Jean Pihet <j-pihet@ti.com>

If used in a module both tracepoints need to be exported by the
kernel.
Fixed a typo in CONFIG_EVENT_POWER_TRACING_DEPRECATED to really
export the tracepoints.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Cc: Thomas Renninger <trenn@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>
---
 kernel/trace/power-traces.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/kernel/trace/power-traces.c b/kernel/trace/power-traces.c
index f55fcf6..29b60f2 100644
--- a/kernel/trace/power-traces.c
+++ b/kernel/trace/power-traces.c
@@ -13,8 +13,9 @@
 #define CREATE_TRACE_POINTS
 #include <trace/events/power.h>
 
-#ifdef EVENT_POWER_TRACING_DEPRECATED
+#ifdef CONFIG_EVENT_POWER_TRACING_DEPRECATED
 EXPORT_TRACEPOINT_SYMBOL_GPL(power_start);
+EXPORT_TRACEPOINT_SYMBOL_GPL(power_end);
 #endif
 EXPORT_TRACEPOINT_SYMBOL_GPL(cpu_idle);
 
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-16  9:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-13 14:43 [PATCH] perf: export power_start and power_end tracepoints jean.pihet
2011-05-13 14:48 ` Ingo Molnar
2011-05-13 15:09   ` Jean Pihet
2011-05-16  9:23     ` Ingo Molnar
2011-05-16  9:45       ` Pihet-XID, Jean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox