diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2021-10-21 03:55:35 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-10-22 19:16:53 +0300 |
commit | fed240d9c9743815fcbc0ca5c0913292ce1f25e2 (patch) | |
tree | 332b5002123a3db9bd9b6bc9a5f0144f008374eb /arch/arm/plat-orion | |
parent | 7e9bf33b812471ee57a03ec7f9b544ca437cc706 (diff) | |
download | linux-fed240d9c9743815fcbc0ca5c0913292ce1f25e2.tar.xz |
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 <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/arm/plat-orion')
0 files changed, 0 insertions, 0 deletions