diff options
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/ftrace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index c9f31491009f..9e3198782507 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -3792,7 +3792,8 @@ out: | |||
3792 | if (fail) | 3792 | if (fail) |
3793 | return -EINVAL; | 3793 | return -EINVAL; |
3794 | 3794 | ||
3795 | ftrace_graph_filter_enabled = 1; | 3795 | ftrace_graph_filter_enabled = !!(*idx); |
3796 | |||
3796 | return 0; | 3797 | return 0; |
3797 | } | 3798 | } |
3798 | 3799 | ||