]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 28 Nov 2018 01:31:54 +0000 (20:31 -0500)
commit76da7d025d8976e8c4d71bd99a693e4766516db1
tree77af76a4456a5831f27b2c96ecd78b818bdc6bf2
parentdecc692e8af5b755f5a3783dee16870da8bc1d9d
function_graph: Make ftrace_push_return_trace() static

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: 7e2f56662a145 ("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>
include/linux/ftrace.h
kernel/trace/trace_functions_graph.c