diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-01-14 08:43:01 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-02-20 12:13:16 -0500 |
commit | 6b450d2533e2c1c71fbe7f1bdce0bb1c9f813030 (patch) | |
tree | 6e9d9390e712becb76ec8892fd6a6421ec345cca /kernel/trace/trace.h | |
parent | e6435e96ec6f31a05690876a19e63e451f7b37e2 (diff) | |
download | op-kernel-dev-6b450d2533e2c1c71fbe7f1bdce0bb1c9f813030.zip op-kernel-dev-6b450d2533e2c1c71fbe7f1bdce0bb1c9f813030.tar.gz |
tracing: Disable tracers before deletion of instance
When an instance is about to be deleted, make sure the tracer
is set to nop. If it isn't reset the tracer and set it to the nop
tracer, otherwise memory leaks and bad pointers may result.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.h')
0 files changed, 0 insertions, 0 deletions