]> Pileus Git - ~andy/linux/blobdiff - kernel/trace/trace.h
tracing: Add helper function tracing_is_disabled()
[~andy/linux] / kernel / trace / trace.h
index 9c27cdadd71faa55edec74c7469e77c1b29b5134..4388e16484f1028ce42a9d3ea902205983c76434 100644 (file)
@@ -514,6 +514,7 @@ void tracing_reset_online_cpus(struct trace_buffer *buf);
 void tracing_reset_current(int cpu);
 void tracing_reset_all_online_cpus(void);
 int tracing_open_generic(struct inode *inode, struct file *filp);
+bool tracing_is_disabled(void);
 struct dentry *trace_create_file(const char *name,
                                 umode_t mode,
                                 struct dentry *parent,