diff options
-rw-r--r-- | kernel/trace/trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index a71bbe0a3631..5ac697065a48 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -551,7 +551,7 @@ extern struct pid *ftrace_pid_trace; | |||
551 | 551 | ||
552 | static inline int ftrace_trace_task(struct task_struct *task) | 552 | static inline int ftrace_trace_task(struct task_struct *task) |
553 | { | 553 | { |
554 | if (ftrace_pid_trace) | 554 | if (!ftrace_pid_trace) |
555 | return 1; | 555 | return 1; |
556 | 556 | ||
557 | return test_tsk_trace_trace(task); | 557 | return test_tsk_trace_trace(task); |