aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2021-10-21 09:55:35 +0900
committerSteven Rostedt (VMware) <[email protected]>2021-10-22 12:16:53 -0400
commitfed240d9c9743815fcbc0ca5c0913292ce1f25e2 (patch)
tree332b5002123a3db9bd9b6bc9a5f0144f008374eb /scripts/gdb/linux/utils.py
parent7e9bf33b812471ee57a03ec7f9b544ca437cc706 (diff)
ARM: Recover kretprobe modified return address in stacktrace
Since the kretprobe replaces the function return address with the kretprobe_trampoline on the stack, arm unwinder shows it instead of the correct return address. This finds the correct return address from the per-task kretprobe_instances list and verify it is in between the caller fp and callee fp. Note that this supports both GCC and clang if CONFIG_FRAME_POINTER=y and CONFIG_ARM_UNWIND=n. For the ARM unwinder, this is still not working correctly. Signed-off-by: Masami Hiramatsu <[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