]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/trace/trace.h
tracing: Prevent deleting instances when they are being read
[karo-tx-linux.git] / kernel / trace / trace.h
index 1a456c291a07413a81df9796f4b0fcbbd76d42fe..f4931821a96699ad89ccf7f51fc4e4762bdcf303 100644 (file)
@@ -219,6 +219,7 @@ struct trace_array {
        struct list_head        systems;
        struct list_head        events;
        struct task_struct      *waiter;
+       int                     ref;
 };
 
 enum {