]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/trace/trace.h
ftrace: use struct pid
[linux-2.6-omap-h63xx.git] / kernel / trace / trace.h
index 95fff37ed9700f43d70694db85b493485733203d..8b81b4d727bd11b28befe7e0eb71eb5c1a555b8e 100644 (file)
@@ -541,11 +541,11 @@ print_graph_function(struct trace_iterator *iter)
 }
 #endif /* CONFIG_FUNCTION_GRAPH_TRACER */
 
-extern int ftrace_pid_trace;
+extern struct pid *ftrace_pid_trace;
 
 static inline int ftrace_trace_task(struct task_struct *task)
 {
-       if (ftrace_pid_trace < 0)
+       if (ftrace_pid_trace)
                return 1;
 
        return test_tsk_trace_trace(task);