Steven Rostedt (VMware) 9c4bf5e0db sparc/function_graph: Simplify with function_graph_enter()
The function_graph_enter() function does the work of calling the function
graph hook function and the management of the shadow stack, simplifying the
work done in the architecture dependent prepare_ftrace_return().

Have sparc use the new code, and remove the shadow stack management as well as
having to set up the trace structure.

This is needed to prepare for a fix of a design bug on how the curr_ret_stack
is used.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Cc: stable@kernel.org
Fixes: 03274a3ffb449 ("tracing/fgraph: Adjust fgraph depth before calling trace return callback")
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2018-11-27 20:31:46 -05:00
..
2008-12-04 09:17:15 -08:00
2017-06-01 09:42:46 -07:00
2016-08-07 23:55:43 -04:00
2018-01-22 08:17:15 -08:00
2018-01-22 08:17:15 -08:00
2018-05-09 06:54:27 +02:00
2018-10-07 22:42:02 -07:00
2018-10-07 22:42:02 -07:00
2018-05-09 06:54:27 +02:00
2018-05-09 06:54:27 +02:00
2018-10-31 08:54:16 -07:00
2018-06-12 16:19:22 -07:00
2018-05-09 06:54:27 +02:00
2015-03-19 18:54:49 -07:00
2018-10-31 08:54:16 -07:00
2013-06-13 22:12:14 +01:00
2018-10-31 08:54:16 -07:00
2018-10-31 08:54:16 -07:00
2017-11-15 14:21:03 +09:00
2018-10-07 22:42:00 -07:00