]> asedeno.scripts.mit.edu Git - linux.git/commit
function_graph: Have profiler use new helper ftrace_graph_get_ret_stack()
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 20 Nov 2018 01:54:08 +0000 (20:54 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sun, 9 Dec 2018 01:54:07 +0000 (20:54 -0500)
commitb0e21a61d3196762b61f43ae994ffd255f646774
treec8d44c604668ecde57890429bc2b6f4fd81cc04f
parent76b42b63ed0d004961097d3a3cd979129d4afd26
function_graph: Have profiler use new helper ftrace_graph_get_ret_stack()

The ret_stack processing is going to change, and that is going
to break anything that is accessing the ret_stack directly. One user is the
function graph profiler. By using the ftrace_graph_get_ret_stack() helper
function, the profiler can access the ret_stack entry without relying on the
implementation details of the stack itself.

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