[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140422142419.GD21121@dreric01-Precision-T1600>
Date: Tue, 22 Apr 2014 07:24:20 -0700
From: Drew Richardson <drew.richardson@....com>
To: Thomas Gleixner <tglx@...utronix.de>,
Frederic Weisbecker <fweisbec@...il.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Joe Perches <joe@...ches.com>,
Ben Greear <greearb@...delatech.com>,
Christoph Hellwig <hch@...radead.org>,
linux-kernel@...r.kernel.org, Pawel Moll <pawel.moll@....com>
Subject: [PATCH] Export irq tracepoints for use by kernel modules
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@....com>
Acked-by: Pawel Moll <pawel.moll@....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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists