diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-06-01 12:20:40 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-06-01 23:25:42 -0400 |
commit | 1d080d6c3141623c92caaebe20e847cb99ccbb60 (patch) | |
tree | e77559ff0edc3bfaf228a0e4e7c26ca3cf720de8 /include/trace | |
parent | ec081ddc3d90aab35bc0de19a358b964978837cf (diff) |
tracing: remove redundant SOFTIRQ from softirq event traces
After converting the softirq tracer to use te flags options, this
caused a regression with the name. Since the flag was used directly
it was printed out (i.e. HRTIMER_SOFTIRQ).
This patch only shows the softirq name without the SOFTIRQ part.
[ Impact: fix regression of output from softirq events ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/irq.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/trace/events/irq.h b/include/trace/events/irq.h index 683fb36a9943..b0c7ede55eb1 100644 --- a/include/trace/events/irq.h +++ b/include/trace/events/irq.h | |||
@@ -7,18 +7,18 @@ | |||
7 | #undef TRACE_SYSTEM | 7 | #undef TRACE_SYSTEM |
8 | #define TRACE_SYSTEM irq | 8 | #define TRACE_SYSTEM irq |
9 | 9 | ||
10 | #define softirq_name(sirq) { sirq, #sirq } | 10 | #define softirq_name(sirq) { sirq##_SOFTIRQ, #sirq } |
11 | #define show_softirq_name(val) \ | 11 | #define show_softirq_name(val) \ |
12 | __print_symbolic(val, \ | 12 | __print_symbolic(val, \ |
13 | softirq_name(HI_SOFTIRQ), \ | 13 | softirq_name(HI), \ |
14 | softirq_name(TIMER_SOFTIRQ), \ | 14 | softirq_name(TIMER), \ |
15 | softirq_name(NET_TX_SOFTIRQ), \ | 15 | softirq_name(NET_TX), \ |
16 | softirq_name(NET_RX_SOFTIRQ), \ | 16 | softirq_name(NET_RX), \ |
17 | softirq_name(BLOCK_SOFTIRQ), \ | 17 | softirq_name(BLOCK), \ |
18 | softirq_name(TASKLET_SOFTIRQ), \ | 18 | softirq_name(TASKLET), \ |
19 | softirq_name(SCHED_SOFTIRQ), \ | 19 | softirq_name(SCHED), \ |
20 | softirq_name(HRTIMER_SOFTIRQ), \ | 20 | softirq_name(HRTIMER), \ |
21 | softirq_name(RCU_SOFTIRQ)) | 21 | softirq_name(RCU)) |
22 | 22 | ||
23 | /** | 23 | /** |
24 | * irq_handler_entry - called immediately before the irq action handler | 24 | * irq_handler_entry - called immediately before the irq action handler |