diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-01-21 14:36:52 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-22 10:26:50 +0100 |
commit | 5bc4564b224c3d9fe6dddafa25f56059bd978231 (patch) | |
tree | 22ddf4de8fe115ab7dd8d29c7ff2fa1bf318acd1 /drivers/edac | |
parent | 03b30d151a918364c1c7d08bcb3e167be0a3746f (diff) | |
download | op-kernel-dev-5bc4564b224c3d9fe6dddafa25f56059bd978231.zip op-kernel-dev-5bc4564b224c3d9fe6dddafa25f56059bd978231.tar.gz |
trace: do not disable wake up tracer on output of trace
Impact: fix to erased trace output
To try not to have the outputing of a trace interfere with the wakeup
tracer, it would disable tracing while the output was printing. But
if a trace had started when it was disabled, it can show a partial
trace. To try to solve this, on closing of the tracer, it would
clear the trace buffer.
The latency tracers (wakeup and irqsoff) have two buffers. One for
recording and one for holding the max trace that is printed. The
clearing of the trace above should only affect the recording buffer.
But for some reason it would move the erased trace to the print
buffer. Probably due to a race with the closing of the trace and
the saving ofhe max race.
The above is all pretty useless, and if the user does not want the
printing of the trace to be traced itself, then the user can manual
disable tracing. This patch removes all the code that tries to keep
the output of the tracer from modifying the trace.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions