lkml.org 
[lkml]   [2009]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] export softirq_to_name symbol

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


\
 
 \ /
  Last update: 2009-05-01 21:33    [W:0.225 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site