diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-12-15 20:13:31 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-12-22 15:39:40 -0500 |
commit | cf6ab6d9143b157786bf29bca5c32e55234bb07d (patch) | |
tree | a0c044f2bc377065ba823d08fbb33cb212c0148b /Kconfig | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
download | blackbird-op-linux-cf6ab6d9143b157786bf29bca5c32e55234bb07d.tar.gz blackbird-op-linux-cf6ab6d9143b157786bf29bca5c32e55234bb07d.zip |
tracing: Add ref count to tracer for when they are being read by pipe
When one of the trace pipe files are being read (by either the trace_pipe
or trace_pipe_raw), do not allow the current_trace to change. By adding
a ref count that is incremented when the pipe files are opened, will
prevent the current_trace from being changed.
This will allow for the removal of the global trace_types_lock from
reading the pipe buffers (which is currently a bottle neck).
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions