]> Pileus Git - ~andy/linux/blobdiff - kernel/trace/trace.h
tracing: Add trace_array_get/put() to event handling
[~andy/linux] / kernel / trace / trace.h
index 711ca7d3e7f18a7dd3b1de3506011934dae14765..c7fbf93f1b7c472017584c42c4370f1b8474074d 100644 (file)
@@ -224,6 +224,11 @@ enum {
 
 extern struct list_head ftrace_trace_arrays;
 
+extern struct mutex trace_types_lock;
+
+extern int trace_array_get(struct trace_array *tr);
+extern void trace_array_put(struct trace_array *tr);
+
 /*
  * The global tracer (top) should be the first trace array added,
  * but we check the flag anyway.
@@ -776,6 +781,7 @@ print_graph_function_flags(struct trace_iterator *iter, u32 flags)
 extern struct list_head ftrace_pids;
 
 #ifdef CONFIG_FUNCTION_TRACER
+extern bool ftrace_filter_param __initdata;
 static inline int ftrace_trace_task(struct task_struct *task)
 {
        if (list_empty(&ftrace_pids))