]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff59a098da7ff2d55af652e0133748d3a59acefa
tree8251161678a5c938a53d97b1476d6662a95b488f
parent7df43f83baa803d6c269fa4f308731932830e2de
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