diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2016-04-27 16:13:46 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-04-27 16:13:46 +0200 |
commit | 65da9a0a3bf2202c2432f42d41eb908f2fa30579 (patch) | |
tree | 6b2ccebd0141e33079b1cebad8a0831862394c85 /kernel/trace/trace.c | |
parent | tracing: Move event_trigger_unlock_commit{_regs}() to local header (diff) | |
download | linux-65da9a0a3bf2202c2432f42d41eb908f2fa30579.tar.xz linux-65da9a0a3bf2202c2432f42d41eb908f2fa30579.zip |
tracing: Make filter_check_discard() local
Nothing outside of the tracing directory calls filter_check_discard() or
check_filter_check_discard(). They should not be called by modules. Move
their prototypes into the local tracing header and remove their
EXPORT_SYMBOL() macros.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 46028d47d252..02f5a5f51d49 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -318,7 +318,6 @@ int filter_check_discard(struct trace_event_file *file, void *rec, return 0; } -EXPORT_SYMBOL_GPL(filter_check_discard); int call_filter_check_discard(struct trace_event_call *call, void *rec, struct ring_buffer *buffer, @@ -332,7 +331,6 @@ int call_filter_check_discard(struct trace_event_call *call, void *rec, return 0; } -EXPORT_SYMBOL_GPL(call_filter_check_discard); static cycle_t buffer_ftrace_now(struct trace_buffer *buf, int cpu) { |