Message ID | 20241030070850.1361304-1-hbathini@linux.ibm.com (mailing list archive) |
---|---|
Headers | show |
Series | powerpc: Core ftrace rework, support for ftrace direct and bpf trampolines | expand |
On Wed, 30 Oct 2024 12:38:33 +0530, Hari Bathini wrote: > This is v7 of the series posted here: > https://lore.kernel.org/all/20241018173632.277333-1-hbathini@linux.ibm.com/ > > This series reworks core ftrace support on powerpc to have the function > profiling sequence moved out of line. This enables us to have a single > nop at kernel function entry virtually eliminating effect of the > function tracer when it is not enabled. The function profile sequence is > moved out of line and is allocated at two separate places depending on a > new config option. > > [...] Applied to powerpc/next. [01/17] powerpc/trace: Account for -fpatchable-function-entry support by toolchain https://git.kernel.org/powerpc/c/0b9846529e29ba988ce88b98df633de79675fcb3 [02/17] powerpc/kprobes: Use ftrace to determine if a probe is at function entry https://git.kernel.org/powerpc/c/be87d713eaddf0421ccd61cc060c4c29bc36fc9b [03/17] powerpc64/ftrace: Nop out additional 'std' instruction emitted by gcc v5.x https://git.kernel.org/powerpc/c/161d62c2b067c4071cb515efe16475171e1c051e [04/17] powerpc32/ftrace: Unify 32-bit and 64-bit ftrace entry code https://git.kernel.org/powerpc/c/654b3fa61b817a46037197b73a7ac6d36d01df7e [05/17] powerpc/module_64: Convert #ifdef to IS_ENABLED() https://git.kernel.org/powerpc/c/c12cfe9dee077763708e0a5cf3aca02a85b1e8ba [06/17] powerpc/ftrace: Remove pointer to struct module from dyn_arch_ftrace https://git.kernel.org/powerpc/c/8b0dc1305ea0bbb015b560193cdd76fd4100f062 [07/17] powerpc/ftrace: Skip instruction patching if the instructions are the same https://git.kernel.org/powerpc/c/1d59bd2fc07f0b2e643b2a07405cf0717b93984f [08/17] powerpc/ftrace: Move ftrace stub used for init text before _einittext https://git.kernel.org/powerpc/c/ed6144656bb1ea29ad83671b48a21c89e7873b8a [09/17] powerpc64/bpf: Fold bpf_jit_emit_func_call_hlp() into bpf_jit_emit_func_call_rel() https://git.kernel.org/powerpc/c/9670f6d2097c4f97e15c67920dfddc664d7ee91c [10/17] powerpc/ftrace: Add a postlink script to validate function tracer https://git.kernel.org/powerpc/c/782f46cbce5328da9380f166bd31cd17a04a7b10 [11/17] kbuild: Add generic hook for architectures to use before the final vmlinux link https://git.kernel.org/powerpc/c/1198c9c689cfdaa2d08eb508c13ff116043f07b7 [12/17] powerpc64/ftrace: Move ftrace sequence out of line https://git.kernel.org/powerpc/c/eec37961a56aa4f3fe1c33ffd48eec7d1bb0c009 [13/17] powerpc64/ftrace: Support .text larger than 32MB with out-of-line stubs https://git.kernel.org/powerpc/c/cf9bc0efcce2c324314cf7f5138c08f85ef7b5eb [14/17] powerpc/ftrace: Add support for DYNAMIC_FTRACE_WITH_CALL_OPS https://git.kernel.org/powerpc/c/e717754f0bb5c5347aac82232691340955735ce1 [15/17] powerpc/ftrace: Add support for DYNAMIC_FTRACE_WITH_DIRECT_CALLS https://git.kernel.org/powerpc/c/a52f6043a2238d656ddd23ce0499cf4f12645faa [16/17] samples/ftrace: Add support for ftrace direct samples on powerpc https://git.kernel.org/powerpc/c/71db948b9d2744e92124720f682ed2c26f0de75b [17/17] powerpc64/bpf: Add support for bpf trampolines https://git.kernel.org/powerpc/c/d243b62b7bd3d5314382d3b54e4992226245e936 cheers