function_graph: Make ftrace_push_return_trace() static
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 19 Nov 2018 12:40:39 +0000 (07:40 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 18:32:10 +0000 (19:32 +0100)
commit72c33b233f051e9e58d7e6b9213e985747530ec1
tree049b950ea3eb200ac7c7353948f66f9dbfcf0b6a
parent35aa93cbb04c33a6a771c47e6c04c401615f0dd4
function_graph: Make ftrace_push_return_trace() static

commit d125f3f866df88da5a85df00291f88f0baa89f7c upstream.

As all architectures now call function_graph_enter() to do the entry work,
no architecture should ever call ftrace_push_return_trace(). Make it static.

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

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/ftrace.h
kernel/trace/trace_functions_graph.c