1
0
Fork 0
alistair23-linux/arch/powerpc/kernel/trace
Steven Rostedt (VMware) fe60522ec6 powerpc/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 powerpc 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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: stable@kernel.org
Fixes: 03274a3ffb ("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:02 -05:00
..
Makefile powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
ftrace.c powerpc/function_graph: Simplify with function_graph_enter() 2018-11-27 20:31:02 -05:00
ftrace_32.S powerpc: Only support DYNAMIC_FTRACE not static 2018-05-03 22:32:29 +10:00
ftrace_64.S powerpc/ftrace: Handle large kernel configs 2018-10-20 13:26:47 +11:00
ftrace_64_mprofile.S powerpc/kprobes: Remove jprobe powerpc implementation 2018-06-21 12:33:08 +02:00
ftrace_64_pg.S powerpc: Only support DYNAMIC_FTRACE not static 2018-05-03 22:32:29 +10:00
trace_clock.c powerpc: Split ftrace bits into a separate file 2017-04-27 22:20:29 +10:00