Masami Hiramatsu fed240d9c9 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>
2021-10-22 12:16:53 -04:00
..
2021-09-09 13:25:49 -07:00
2021-09-01 08:44:42 -07:00
2021-09-09 13:25:49 -07:00
2021-05-06 09:28:07 -07:00
2021-09-01 15:19:43 -07:00
2021-09-01 15:25:28 -07:00
2021-09-01 18:41:13 -07:00
2021-09-01 15:19:43 -07:00
2021-09-01 15:25:28 -07:00
2021-09-09 13:25:49 -07:00
2021-07-06 11:52:58 -07:00