]> asedeno.scripts.mit.edu Git - linux.git/commit
sh: ftrace: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 7 Dec 2018 18:06:04 +0000 (13:06 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 22 Dec 2018 13:21:02 +0000 (08:21 -0500)
commitcec8d0e7f06e08b981e9d61bef267c8c36d536f5
tree3d1a3e31f78f06c9b3143dff18b4d53e1878b82b
parent945626db0961d8388543b2c96b6f16df57947392
sh: ftrace: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack

The structure of the ret_stack array on the task struct is going to
change, and accessing it directly via the curr_ret_stack index will no
longer give the ret_stack entry that holds the return address. To access
that, architectures must now use ftrace_graph_get_ret_stack() to get the
associated ret_stack that matches the saved return address.

Cc: linux-sh@vger.kernel.org
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
arch/sh/kernel/dumpstack.c
arch/sh/kernel/dwarf.c