function_graph: Move ftrace_graph_ret_addr() to fgraph.c
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Sun, 18 Nov 2018 23:36:19 +0000 (18:36 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sun, 9 Dec 2018 01:54:07 +0000 (20:54 -0500)
commit76b42b63ed0d004961097d3a3cd979129d4afd26
tree03c9c59eccb1b829441e139a13ba3b73f284f99d
parent688f7089d8851b1a81106f0c0b9b29181b2f2dc8
function_graph: Move ftrace_graph_ret_addr() to fgraph.c

Move the function function_graph_ret_addr() to fgraph.c, as the management
of the curr_ret_stack is going to change, and all the accesses to ret_stack
needs to be done in fgraph.c.

Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/fgraph.c
kernel/trace/trace_functions_graph.c