Re: [PATCH] tracing: Cleanup the convoluted softirq tracepoints
From: Peter Zijlstra
Date: Tue Oct 19 2010 - 09:08:34 EST
On Tue, 2010-10-19 at 15:00 +0200, Thomas Gleixner wrote:
>
> 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@xxxxxxxxxxxxx>
Acked-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
A much needed cleanup indeed!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/