diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2016-04-29 16:12:39 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-04-29 16:14:13 -0400 |
commit | a9fe48dcde88fd48e210e4280f19cb9300ec9112 (patch) | |
tree | a9276f60ffc6b741bbc184c5e1c176314c08d71a | |
parent | fa66ddb870ca022342fe6d1312ef76d2f7233a1d (diff) | |
download | linux-a9fe48dcde88fd48e210e4280f19cb9300ec9112.tar.gz linux-a9fe48dcde88fd48e210e4280f19cb9300ec9112.tar.bz2 linux-a9fe48dcde88fd48e210e4280f19cb9300ec9112.zip |
tracing: Remove unused function trace_current_buffer_discard_commit()
The function trace_current_buffer_discard_commit() has no callers, remove
it.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | include/linux/trace_events.h | 2 | ||||
-rw-r--r-- | kernel/trace/trace.c | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h index 48cc5e19c5f5..356c39b3abbb 100644 --- a/include/linux/trace_events.h +++ b/include/linux/trace_events.h @@ -158,8 +158,6 @@ struct ring_buffer_event * trace_current_buffer_lock_reserve(struct ring_buffer **current_buffer, int type, unsigned long len, unsigned long flags, int pc); -void trace_current_buffer_discard_commit(struct ring_buffer *buffer, - struct ring_buffer_event *event); void tracing_record_cmdline(struct task_struct *tsk); diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 94e7e4d11b79..e5bdb9accf52 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -1734,7 +1734,6 @@ trace_current_buffer_lock_reserve(struct ring_buffer **current_rb, return trace_buffer_lock_reserve(*current_rb, type, len, flags, pc); } -EXPORT_SYMBOL_GPL(trace_current_buffer_lock_reserve); void trace_buffer_unlock_commit_regs(struct trace_array *tr, struct ring_buffer *buffer, @@ -1748,13 +1747,6 @@ void trace_buffer_unlock_commit_regs(struct trace_array *tr, ftrace_trace_userstack(buffer, flags, pc); } -void trace_current_buffer_discard_commit(struct ring_buffer *buffer, - struct ring_buffer_event *event) -{ - ring_buffer_discard_commit(buffer, event); -} -EXPORT_SYMBOL_GPL(trace_current_buffer_discard_commit); - void trace_function(struct trace_array *tr, unsigned long ip, unsigned long parent_ip, unsigned long flags, |