Messages in this thread | | | Date | Mon, 14 Dec 2015 13:05:48 +0300 | Subject | Re: [PATCH 2/2] powerpc: tracing: don't trace hcalls on offline CPUs | From | Denis Kirjanov <> |
| |
On 12/14/15, Michael Ellerman <mpe@ellerman.id.au> wrote: > On Mon, 2015-12-07 at 16:33 -0500, Steven Rostedt wrote: >> On Tue, 08 Dec 2015 08:02:15 +1100 >> Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote: >> > 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). >> > >> >> OK, then that needs to be updated. > > Denis, please respin with raw_smp_processor_id().
Sure, I'll respin today.
Thanks!
> > cheers > >
| |