Re: [PATCH v5 12/17] powerpc64/ftrace: Move ftrace sequence out of line

2024-10-09 Thread Masahiro Yamada
On Mon, Sep 16, 2024 at 5:58 AM Hari Bathini wrote: > > From: Naveen N Rao > > Function profile sequence on powerpc includes two instructions at the > beginning of each function: > mflrr0 > bl ftrace_caller > > The call to ftrace_caller() gets nop'ed out during kernel boo

[PATCH v5 12/17] powerpc64/ftrace: Move ftrace sequence out of line

2024-09-15 Thread Hari Bathini
From: Naveen N Rao Function profile sequence on powerpc includes two instructions at the beginning of each function: mflrr0 bl ftrace_caller The call to ftrace_caller() gets nop'ed out during kernel boot and is patched in when ftrace is enabled. Given the sequence, we c