tracing: do not update tracing_max_latency when tracer is stopped
authorCarsten Emde <Carsten.Emde@osadl.org>
Sat, 12 Sep 2009 23:43:07 +0000 (01:43 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Sun, 13 Sep 2009 01:45:17 +0000 (21:45 -0400)
The state of the function pair tracing_stop()/tracing_start() is
correctly considered when tracer data are updated. However, the global
and externally accessible variable tracing_max_latency is always updated
- even when tracing is stopped.

The update should only occur, if tracing was not stopped.

Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found