diff options
author | Thomas Gleixner <[email protected]> | 2009-03-18 08:56:58 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-03-18 10:10:16 +0100 |
commit | 18aecd362a1c991fbf5f7919ae051a77532ba2f8 (patch) | |
tree | f19f11afa2b669a6acea5c98fda091b68993bc59 /net/lapb/lapb_iface.c | |
parent | 03418c7efaa429dc7647ac93e3862e3fe1816873 (diff) |
tracing: stop command line recording when tracing is disabled
Impact: prevent overwrite of command line entries
When the tracer is stopped the command line recording continues to
record. The check for tracing_is_on() is not sufficient here as the
ringbuffer status is not affected by setting
debug/tracing/tracing_enabled to 0. On a non idle system this can
result in the loss of the command line information for the stopped
trace, which makes the trace harder to read and analyse.
Check tracer_enabled to allow further recording.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions