tracing: Prevent deleting instances when they are being read
authorSteven Rostedt (Red Hat) <srostedt@redhat.com>
Wed, 6 Mar 2013 20:27:24 +0000 (15:27 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:35:51 +0000 (00:35 -0400)
commita695cb5816228f86576f5f5c6809fdf8ed382ece
tree922f12a1a2fab1efa16f74216d6883deeefd1b74
parent121aaee7b0a82605d33af200c7e9ebab6fd6e444
tracing: Prevent deleting instances when they are being read

Add a ref count to the trace_array structure and prevent removal
of instances that have open descriptors.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h
This page took 0.024332 seconds and 5 git commands to generate.