x86,rethook,kprobes: Replace kretprobe with rethook on x86
authorMasami Hiramatsu <mhiramat@kernel.org>
Sat, 26 Mar 2022 02:27:17 +0000 (11:27 +0900)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 29 Mar 2022 02:38:51 +0000 (19:38 -0700)
commitf3a112c0c40dd96d53c8bdf3ea8d94d528f3b7b8
tree8251161678a5c938a53d97b1476d6662a95b488f
parent73f9b911faa74ac5107879de05c9489c419f41bb
x86,rethook,kprobes: Replace kretprobe with rethook on x86

Replaces the kretprobe code with rethook on x86. With this patch,
kretprobe on x86 uses the rethook instead of kretprobe specific
trampoline code.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Tested-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/164826163692.2455864.13745421016848209527.stgit@devnote2
arch/x86/Kconfig
arch/x86/include/asm/unwind.h
arch/x86/kernel/Makefile
arch/x86/kernel/kprobes/common.h
arch/x86/kernel/kprobes/core.c
arch/x86/kernel/rethook.c [new file with mode: 0644]
arch/x86/kernel/unwind_orc.c