diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2016-04-28 12:04:13 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-04-29 16:14:12 -0400 |
commit | fa66ddb870ca022342fe6d1312ef76d2f7233a1d (patch) | |
tree | 4b05301533dfbfe78b45bc2e424d7cb4d5c3ad03 /kernel/trace/trace.h | |
parent | 9cbb1506ab2db987c160e7fc50665bf47b5b6fa1 (diff) | |
download | blackbird-op-linux-fa66ddb870ca022342fe6d1312ef76d2f7233a1d.tar.gz blackbird-op-linux-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 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 0862e7559548..bd5ae56dec7a 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -1068,6 +1068,16 @@ struct trace_subsystem_dir { extern int call_filter_check_discard(struct trace_event_call *call, void *rec, struct ring_buffer *buffer, struct ring_buffer_event *event); + +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); /* * Helper function for event_trigger_unlock_commit{_regs}(). * If there are event triggers attached to this event that requires |