tracing: Reset ftrace_graph_filter_enabled if count is zero
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 11 Apr 2013 07:01:38 +0000 (16:01 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 13 Apr 2013 03:02:30 +0000 (23:02 -0400)
commit9f50afccfdc15d95d7331acddcb0f7703df089ae
tree348b898d53a1b4f14d9d03e11e5bbf5d561fc5f8
parent39e30cd1537937d3c00ef87e865324e981434e5b
tracing: Reset ftrace_graph_filter_enabled if count is zero

The ftrace_graph_count can be decreased with a "!" pattern, so that
the enabled flag should be updated too.

Link: http://lkml.kernel.org/r/1365663698-2413-1-git-send-email-namhyung@kernel.org
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: stable@vger.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c