Files
linux/kernel
Menglong Dong cd06078a38 tracing: fprobe: use ftrace if CONFIG_DYNAMIC_FTRACE_WITH_ARGS
For now, we will use ftrace for the fprobe if fp->exit_handler not exists
and CONFIG_DYNAMIC_FTRACE_WITH_REGS is enabled.

However, CONFIG_DYNAMIC_FTRACE_WITH_REGS is not supported by some arch,
such as arm. What we need in the fprobe is the function arguments, so we
can use ftrace for fprobe if CONFIG_DYNAMIC_FTRACE_WITH_ARGS is enabled.

Therefore, use ftrace if CONFIG_DYNAMIC_FTRACE_WITH_REGS or
CONFIG_DYNAMIC_FTRACE_WITH_ARGS enabled.

Link: https://lore.kernel.org/all/[email protected]/

Signed-off-by: Menglong Dong <[email protected]>
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
2025-11-11 22:32:10 +09:00
..
…
2025-08-30 10:15:28 -04:00
…
…
…
…
…
…
…
…
…
2025-09-25 09:23:54 +02:00
…
…
…
…
…
…
…
…
…
2025-09-25 09:23:54 +02:00