[PATCH] ARM: trace: Add tracepoint for the Inter Processor Interrupt

Steven Rostedt rostedt at goodmis.org
Tue Oct 15 19:33:46 EDT 2013


On Tue, 15 Oct 2013 08:26:15 +0200
Daniel Lezcano <daniel.lezcano at linaro.org> wrote:


> Mmh, I have a doubt here about the trace. I can remove the cpumask 
> because it is not used but in the other hand, it would be interesting to 
> have in the trace the cpumask of the recipient cpus for the IPI. 
> Unfortunately, I don't know how to convert this cpumask to a string 
> without using the cpumask_scnprintf which imply a more complex print trace.
> 
> Do you have some advices for that ?

What's wrong with recording the cpumask into the trace buffer and then
using cpumask_scnprintf() as output? We can update trace-cmd and
libtraceevent to handle that output too.

-- Steve




More information about the linux-arm-kernel mailing list