Re: [PATCH 16/17] powerpc/ftrace: Add support for -fpatchable-function-entry

2023-06-28 Thread Naveen N Rao
Christophe Leroy wrote: Le 19/06/2023 à 11:47, Naveen N Rao a écrit : GCC v13.1 updated support for -fpatchable-function-entry on ppc64le to emit nops after the local entry point, rather than before it. This allows us to use this in the kernel for ftrace purposes. A new script is added under a

Re: [PATCH 16/17] powerpc/ftrace: Add support for -fpatchable-function-entry

2023-06-22 Thread Christophe Leroy
Le 19/06/2023 à 11:47, Naveen N Rao a écrit : > GCC v13.1 updated support for -fpatchable-function-entry on ppc64le to > emit nops after the local entry point, rather than before it. This > allows us to use this in the kernel for ftrace purposes. A new script is > added under arch/powerpc/tools/

[PATCH 16/17] powerpc/ftrace: Add support for -fpatchable-function-entry

2023-06-19 Thread Naveen N Rao
GCC v13.1 updated support for -fpatchable-function-entry on ppc64le to emit nops after the local entry point, rather than before it. This allows us to use this in the kernel for ftrace purposes. A new script is added under arch/powerpc/tools/ to help detect if nops are emitted after the function lo