]> git.ipfire.org Git - people/ms/linux.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)
commit515a49173b80a4aabcbad9a4fa2a247042378ea1
tree6f38ed71241850205ac21a9df47c0d31b64b63fe
parent02752bd99dc2daae05c12f7063bf0632e22b4c1c
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]