]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 May 2013 03:33:08 +0000 (20:33 -0700)
commita8bbee2c40d12f2d3ef0fd9e4b1e4a253f62e80d
tree2eb9fc029e517870e971a11b08f10dad0c8fc700
parentc8a6694f331ca69d8f074730b425920a7a0131d2
tracing: Reset ftrace_graph_filter_enabled if count is zero

commit 9f50afccfdc15d95d7331acddcb0f7703df089ae upstream.

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
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/trace/ftrace.c