mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Export irq tracepoints for use by kernel modules
@ 2014-04-22 14:24 Drew Richardson
  2014-04-22 14:26 ` Christoph Hellwig
  0 siblings, 1 reply; 6+ messages in thread
From: Drew Richardson @ 2014-04-22 14:24 UTC (permalink / raw)
  To: Thomas Gleixner, Frederic Weisbecker, Peter Zijlstra,
	Ingo Molnar, Andrew Morton, Joe Perches, Ben Greear,
	Christoph Hellwig, linux-kernel, Pawel Moll

After commit de7b2973903c6cc50b31ee5682a69b2219b9919d ("tracepoint:
Use struct pointer instead of name hash for reg/unreg tracepoints"),
any tracepoints used in a kernel module must be exported.

Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
---
 kernel/softirq.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/kernel/softirq.c b/kernel/softirq.c
index b50990a5bea0..3a21a6c29406 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -30,6 +30,12 @@
 #define CREATE_TRACE_POINTS
 #include <trace/events/irq.h>
 
+EXPORT_TRACEPOINT_SYMBOL_GPL(irq_handler_entry);
+EXPORT_TRACEPOINT_SYMBOL_GPL(irq_handler_exit);
+EXPORT_TRACEPOINT_SYMBOL_GPL(softirq_entry);
+EXPORT_TRACEPOINT_SYMBOL_GPL(softirq_exit);
+EXPORT_TRACEPOINT_SYMBOL_GPL(softirq_raise);
+
 /*
    - No shared variables, all the data are CPU local.
    - If a softirq needs serialization, let it serialize itself
-- 
1.8.3.2


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

end of thread, other threads:[~2014-04-22 17:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-22 14:24 [PATCH] Export irq tracepoints for use by kernel modules Drew Richardson
2014-04-22 14:26 ` Christoph Hellwig
2014-04-22 15:00   ` Drew Richardson
2014-04-22 15:03     ` Christoph Hellwig
2014-04-22 15:01   ` Josh Boyer
2014-04-22 17:38     ` Drew Richardson

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

Powered by JetHome