[PATCH] export softirq_to_name symbol
From: Jason Baron
Date: Fri May 01 2009 - 15:31:23 EST
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@xxxxxxxxxx>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/