]> git.baikalelectronics.ru Git - kernel.git/commit
nds32/stack: Get real return address by using ftrace_graph_ret_addr
authorZong Li <zong@andestech.com>
Wed, 15 Aug 2018 03:05:40 +0000 (11:05 +0800)
committerGreentime Hu <greentime@andestech.com>
Tue, 4 Sep 2018 06:45:18 +0000 (14:45 +0800)
commit94a24007932b6610686ad56e43733e19cbe6fecb
tree4a43286c98a7ba45a865f7a75364d651f1e9d65e
parent2a15b8e8dc639dd3a372df0ab16a3c1212f03c58
nds32/stack: Get real return address by using ftrace_graph_ret_addr

Function graph tracer has modified the return address to
'return_to_handler' on stack, and provide the 'ftrace_graph_ret_addr' to
get the real return address.

Signed-off-by: Zong Li <zong@andestech.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/kernel/stacktrace.c
arch/nds32/kernel/traps.c