On Mon, Aug 15, 2022 at 8:28 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote: > > On Mon, Aug 15, 2022 at 08:17:42AM -0700, Alexei Starovoitov wrote: > > It's hiding a fake function from ftrace, since it's not a function > > and ftrace infra shouldn't show it tracing logs. > > In other words it's a _notrace_ function with nop5. > > Then make it a notrace function with a nop5 in it. That isn't hard. That's exactly what we're trying to do. Jiri's patch is one way to achieve that. What is your suggestion? Move it from C to asm ? Make it naked function with explicit inline asm? What else?