diff options
author | 2009-09-13 01:43:07 +0200 | |
---|---|---|
committer | 2009-09-12 21:45:17 -0400 | |
commit | b5130b1e7d3717d03ab1916b198bf0d49fa0a619 (patch) | |
tree | 67ee3282f6b6aa2e37864b938f67fd7e02b04394 /lib/spinlock_debug.c | |
parent | tracing: remove unused local variables in tracer probe functions (diff) | |
download | linux-rng-b5130b1e7d3717d03ab1916b198bf0d49fa0a619.tar.xz linux-rng-b5130b1e7d3717d03ab1916b198bf0d49fa0a619.zip |
tracing: do not update tracing_max_latency when tracer is stopped
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>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions