public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] export softirq_to_name symbol
@ 2009-05-01 19:30 Jason Baron
  2009-05-01 19:50 ` Christoph Hellwig
  2009-05-03  8:33 ` Ingo Molnar
  0 siblings, 2 replies; 9+ messages in thread
From: Jason Baron @ 2009-05-01 19:30 UTC (permalink / raw)
  To: mingo, rostedt; +Cc: linux-kernel, jistone


hi,

In response to a user request:


Export 'softirq_to_name' so that modules using the softirq tracepoints
can resolve the # to a name.

Signed-off-by: Jason Baron <jbaron@redhat.com>
---
 kernel/softirq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/softirq.c b/kernel/softirq.c
index b76064b..1841ab7 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -60,6 +60,7 @@ char *softirq_to_name[NR_SOFTIRQS] = {
 	"HI", "TIMER", "NET_TX", "NET_RX", "BLOCK",
 	"TASKLET", "SCHED", "HRTIMER",	"RCU"
 };
+EXPORT_SYMBOL_GPL(softirq_to_name);
 
 /*
  * we cannot loop indefinitely here to avoid userspace starvation,
-- 
1.6.0.6


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

end of thread, other threads:[~2009-05-03 18:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-01 19:30 [PATCH] export softirq_to_name symbol Jason Baron
2009-05-01 19:50 ` Christoph Hellwig
2009-05-01 20:07   ` Josh Stone
2009-05-01 20:10     ` Christoph Hellwig
2009-05-01 20:17       ` Josh Stone
2009-05-01 20:22         ` Christoph Hellwig
2009-05-01 21:25           ` Josh Stone
2009-05-03 18:36       ` Frederic Weisbecker
2009-05-03  8:33 ` Ingo Molnar

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