aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2021-10-21 09:55:00 +0900
committerSteven Rostedt (VMware) <[email protected]>2021-10-22 12:16:53 -0400
commitfc6d647638a8412800dfd10ad687709cb4aee373 (patch)
tree0da06b9037ca670a5a513cbe50bb47676b381022 /scripts/gdb/linux/utils.py
parentf8717410621571b182d3f2c45ffc52796c418787 (diff)
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 <[email protected]> Acked-by: Will Deacon <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions