Re: [PATCH] ARM: trace: Add tracepoint for the Inter ProcessorInterrupt

From: Steven Rostedt
Date: Tue Oct 15 2013 - 19:33:57 EST


On Tue, 15 Oct 2013 08:26:15 +0200
Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> 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

--
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/