summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/stacktrace.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2021-10-21 03:55:00 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-10-22 19:16:53 +0300
commitfc6d647638a8412800dfd10ad687709cb4aee373 (patch)
tree0da06b9037ca670a5a513cbe50bb47676b381022 /arch/arm64/kernel/stacktrace.c
parentf8717410621571b182d3f2c45ffc52796c418787 (diff)
downloadlinux-fc6d647638a8412800dfd10ad687709cb4aee373.tar.xz
arm64: kprobes: Make a frame pointer on __kretprobe_trampoline
Make a frame pointer (make the x29 register points the address of pt_regs->regs[29]) on __kretprobe_trampoline. This frame pointer will be used by the stacktracer when it is called from the kretprobe handlers. In this case, the stack tracer will unwind stack to trampoline_probe_handler() and find the next frame pointer in the stack frame of the __kretprobe_trampoline(). Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Acked-by: Will Deacon <will@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/arm64/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions