diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-10-19 15:00:13 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-10-21 16:50:29 +0200 |
commit | f4bc6bb2d562703eafc895c37e7be20906de139d (patch) | |
tree | e80d4ed1bc925a2236773eff7d68163c534efea3 /tools/perf | |
parent | 750ed158bf6c782d2813da1bca2c824365a0b777 (diff) | |
download | linux-f4bc6bb2d562703eafc895c37e7be20906de139d.tar.gz linux-f4bc6bb2d562703eafc895c37e7be20906de139d.tar.bz2 linux-f4bc6bb2d562703eafc895c37e7be20906de139d.zip |
tracing: Cleanup the convoluted softirq tracepoints
With the addition of trace_softirq_raise() the softirq tracepoint got
even more convoluted. Why the tracepoints take two pointers to assign
an integer is beyond my comprehension.
But adding an extra case which treats the first pointer as an unsigned
long when the second pointer is NULL including the back and forth
type casting is just horrible.
Convert the softirq tracepoints to take a single unsigned int argument
for the softirq vector number and fix the call sites.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <alpine.LFD.2.00.1010191428560.6815@localhost6.localdomain6>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: mathieu.desnoyers@efficios.com
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions