aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/trace_events.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2016-04-28 12:04:13 -0400
committerSteven Rostedt <rostedt@goodmis.org>2016-04-29 16:14:12 -0400
commitfa66ddb870ca022342fe6d1312ef76d2f7233a1d (patch)
tree4b05301533dfbfe78b45bc2e424d7cb4d5c3ad03 /include/linux/trace_events.h
parenttracing: Fold filter_check_discard() into its only user (diff)
downloadlinux-dev-fa66ddb870ca022342fe6d1312ef76d2f7233a1d.tar.xz
linux-dev-fa66ddb870ca022342fe6d1312ef76d2f7233a1d.zip
tracing: Move trace_buffer_unlock_commit{_regs}() to local header
The functions trace_buffer_unlock_commit() and the _regs() version are only used within the kernel/trace directory. Move them to the local header and remove the export as well. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/trace_events.h')
-rw-r--r--include/linux/trace_events.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h
index bb383af35cc7..48cc5e19c5f5 100644
--- a/include/linux/trace_events.h
+++ b/include/linux/trace_events.h
@@ -158,15 +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_buffer_unlock_commit(struct trace_array *tr,
- struct ring_buffer *buffer,
- struct ring_buffer_event *event,
- unsigned long flags, int pc);
-void trace_buffer_unlock_commit_regs(struct trace_array *tr,
- struct ring_buffer *buffer,
- struct ring_buffer_event *event,
- unsigned long flags, int pc,
- struct pt_regs *regs);
void trace_current_buffer_discard_commit(struct ring_buffer *buffer,
struct ring_buffer_event *event);