lkml.org 
[lkml]   [2010]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateFri, 12 Feb 2010 14:09:09 -0500
FromSteven Rostedt <>
Subject[PATCH 2/2][RFC] tracing: Add extract out softirq names used by irq trace events
The irq trace events that map the softirq vectors to strings
shows up in the format files as names. To allow binary parsers to
be able to convert these names to their actual numbers, this patch
extracts those enums.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

---
include/trace/events/irq.h | 11 +++++++++++
1 file changed, 11 insertions(+)
Index: linux-trace.git/include/trace/events/irq.h
===================================================================
--- linux-trace.git.orig/include/trace/events/irq.h 2010-02-12 13:29:44.000000000 -0500
+++ linux-trace.git/include/trace/events/irq.h 2010-02-12 13:33:20.000000000 -0500
@@ -7,6 +7,17 @@
#include <linux/tracepoint.h>
#include <linux/interrupt.h>

+EXTRACT_TRACE_SYMBOL(HI_SOFTIRQ);
+EXTRACT_TRACE_SYMBOL(TIMER_SOFTIRQ);
+EXTRACT_TRACE_SYMBOL(NET_TX_SOFTIRQ);
+EXTRACT_TRACE_SYMBOL(NET_RX_SOFTIRQ);
+EXTRACT_TRACE_SYMBOL(BLOCK_SOFTIRQ);
+EXTRACT_TRACE_SYMBOL(BLOCK_IOPOLL_SOFTIRQ);
+EXTRACT_TRACE_SYMBOL(TASKLET_SOFTIRQ);
+EXTRACT_TRACE_SYMBOL(SCHED_SOFTIRQ);
+EXTRACT_TRACE_SYMBOL(HRTIMER_SOFTIRQ);
+EXTRACT_TRACE_SYMBOL(RCU_SOFTIRQ);
+
#define softirq_name(sirq) { sirq##_SOFTIRQ, #sirq }
#define show_softirq_name(val) \
__print_symbolic(val, \


\
 
 \ /
  Last update: 2010-02-12 20:13    [from the cache]
©2003-2010