]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: rethook: Add rethook arm implementation
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 15 Mar 2022 14:01:36 +0000 (23:01 +0900)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 18 Mar 2022 03:16:49 +0000 (20:16 -0700)
commit504467a6a63843915a22ea75a7cf637286208ac3
tree6f38ed71241850205ac21a9df47c0d31b64b63fe
parent94b1eb4276a31ae3c368b4c00931641259fab854
ARM: rethook: Add rethook arm implementation

Add rethook arm implementation. Most of the code has been copied from
kretprobes on arm.
Since the arm's ftrace implementation is a bit special, this needs a
special care using from fprobe.

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/164735289643.1084943.15184590256680485720.stgit@devnote2
arch/arm/Kconfig
arch/arm/include/asm/stacktrace.h
arch/arm/kernel/stacktrace.c
arch/arm/probes/Makefile
arch/arm/probes/rethook.c [new file with mode: 0644]