Home
last modified time | relevance | path

Searched hist:"73 f9b911faa74ac5107879de05c9489c419f41bb" (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dkprobes.hdiff 73f9b911faa74ac5107879de05c9489c419f41bb Sat Mar 26 03:27:05 CET 2022 Masami Hiramatsu <mhiramat@kernel.org> kprobes: Use rethook for kretprobe if possible

Use rethook for kretprobe function return hooking if the arch sets
CONFIG_HAVE_RETHOOK=y. In this case, CONFIG_KRETPROBE_ON_RETHOOK is
set to 'y' automatically, and the kretprobe internal data fields
switches to use rethook. If not, it continues to use kretprobe
specific function return hooks.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/164826162556.2455864.12255833167233452047.stgit@devnote2
/linux/kernel/trace/
H A Dtrace_kprobe.cdiff 73f9b911faa74ac5107879de05c9489c419f41bb Sat Mar 26 03:27:05 CET 2022 Masami Hiramatsu <mhiramat@kernel.org> kprobes: Use rethook for kretprobe if possible

Use rethook for kretprobe function return hooking if the arch sets
CONFIG_HAVE_RETHOOK=y. In this case, CONFIG_KRETPROBE_ON_RETHOOK is
set to 'y' automatically, and the kretprobe internal data fields
switches to use rethook. If not, it continues to use kretprobe
specific function return hooks.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/164826162556.2455864.12255833167233452047.stgit@devnote2