git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8de7bd
)
tracing: disable buffers and synchronize_sched before resetting
author
Steven Rostedt
<srostedt@redhat.com>
Fri, 4 Sep 2009 16:02:35 +0000
(12:02 -0400)
committer
Steven Rostedt
<rostedt@goodmis.org>
Fri, 4 Sep 2009 16:02:35 +0000
(12:02 -0400)
Resetting the ring buffers while traces are happening can corrupt
the ring buffer and disable it (no kernel crash to worry about).
The safest thing to do is disable the ring buffers, call synchronize_sched()
to wait for all current writers to finish and then reset the buffer.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
No differences found