Re: [patch 4/8] x86/entry: Move irq tracing on syscall entry to C-code

From: Steven Rostedt
Date: Sat Feb 29 2020 - 18:58:42 EST


On Sat, 29 Feb 2020 11:25:24 -0800
Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:

> > While the tracer itself seems to handle this correctly, what about
> > things like BPF programs which can be attached to tracepoints and
> > function trace entries?
>
> I think that everything using the tracing code, including BPF, should
> either do its own rcuidle stuff or explicitly not execute if weâre
> not in CONTEXT_KERNEL. That is, we probably need to patch BPF.

That's basically the route we are taking.

-- Steve