Commit 1cce377d authored by Mathieu Malaterre's avatar Mathieu Malaterre Committed by Steven Rostedt (VMware)

tracing: Make function ‘ftrace_exports’ static

In commit 478409dd ("tracing: Add hook to function tracing for other
subsystems to use"), a new function ‘ftrace_exports’ was added. Since
this function can be made static, make it so.

Silence the following warning triggered using W=1:

  kernel/trace/trace.c:2451:6: warning: no previous prototype for ‘ftrace_exports’ [-Wmissing-prototypes]

Link: http://lkml.kernel.org/r/20180516193012.25390-1-malat@debian.orgSigned-off-by: default avatarMathieu Malaterre <malat@debian.org>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent bea6957d
...@@ -2452,7 +2452,7 @@ static inline void ftrace_exports_disable(void) ...@@ -2452,7 +2452,7 @@ static inline void ftrace_exports_disable(void)
static_branch_disable(&ftrace_exports_enabled); static_branch_disable(&ftrace_exports_enabled);
} }
void ftrace_exports(struct ring_buffer_event *event) static void ftrace_exports(struct ring_buffer_event *event)
{ {
struct trace_export *export; struct trace_export *export;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment