]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Cleanup the convoluted softirq tracepoints
authorThomas Gleixner <tglx@linutronix.de>
Tue, 19 Oct 2010 13:00:13 +0000 (15:00 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 21 Oct 2010 14:50:29 +0000 (16:50 +0200)
commit398d966dcd28a63bd52f4590a53a95a26af54d2f
treee80d4ed1bc925a2236773eff7d68163c534efea3
parentc9a6010dbe9a20283a96a10748c98651a5b52821
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>
include/linux/interrupt.h
include/trace/events/irq.h
kernel/softirq.c