]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/interrupt.h
tracing: tracepoints for softirq entry/exit - add softirq-to-name array
[net-next-2.6.git] / include / linux / interrupt.h
index 472f11765f608318093ed82919f5c7fdf4f00a7d..9b7e9d743476fa096e0c5b156dca5abc85a296d3 100644 (file)
@@ -258,6 +258,11 @@ enum
        NR_SOFTIRQS
 };
 
+/* map softirq index to softirq name. update 'softirq_to_name' in
+ * kernel/softirq.c when adding a new softirq.
+ */
+extern char *softirq_to_name[NR_SOFTIRQS];
+
 /* softirq mask and active fields moved to irq_cpustat_t in
  * asm/hardirq.h to get better cache usage.  KAO
  */