[PATCH 2/2] powerpc: tracing: don't trace hcalls on offline CPUs

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Dec 8 08:02:15 AEDT 2015


On Mon, 2015-12-07 at 15:52 -0500, Steven Rostedt wrote:
> > +     TP_CONDITION(cpu_online(smp_processor_id())),
> > +

This should probably be some kind of __raw version though, hcalls can
be called in contexts where the debug stuff in smp_processor_id() isn't
safe (or preempt enabled).

Cheers,
Ben.



More information about the Linuxppc-dev mailing list