mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
e6435e96ec
commit
6b450d2533
1 changed files with 18 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue