diff options
author | Steven Rostedt (Red Hat) <srostedt@redhat.com> | 2013-03-05 05:26:06 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-03-15 05:34:57 +0100 |
commit | 873c642f5964b260480850040dec21e42d0ae4e4 (patch) | |
tree | f240e11becc378584fe3892394d735e6bb865ac7 /kernel/trace/Kconfig | |
parent | tracing: Only clear trace buffer on module unload if event was traced (diff) | |
download | linux-873c642f5964b260480850040dec21e42d0ae4e4.tar.xz linux-873c642f5964b260480850040dec21e42d0ae4e4.zip |
tracing: Clear all trace buffers when unloaded module event was used
Currently we do not know what buffer a module event was enabled in.
On unload, it is safest to clear all buffer instances, not just the
top level buffer.
Todo: Clear only the buffer that the event was used in. The
infrastructure is there to do this, but it makes the code a bit
more complex. Lets get the current code vetted before we add that.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/Kconfig')
0 files changed, 0 insertions, 0 deletions