rethook: x86: Add rethook x86 implementation
Add rethook for x86 implementation. Most of the code has been copied from kretprobes on x86. Signed-off-by:Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by:
Steven Rostedt (Google) <rostedt@goodmis.org> Tested-by:
Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by:
Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/164735286243.1084943.7477055110527046644.stgit@devnote2
Showing
- arch/x86/Kconfig 1 addition, 0 deletionsarch/x86/Kconfig
- arch/x86/include/asm/unwind.h 7 additions, 1 deletionarch/x86/include/asm/unwind.h
- arch/x86/kernel/Makefile 1 addition, 0 deletionsarch/x86/kernel/Makefile
- arch/x86/kernel/kprobes/common.h 1 addition, 0 deletionsarch/x86/kernel/kprobes/common.h
- arch/x86/kernel/rethook.c 119 additions, 0 deletionsarch/x86/kernel/rethook.c
Please register or sign in to comment