diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-01-07 07:25:50 +0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-01-10 06:19:44 +0400 |
commit | e8dc637152d2921447b012f58c51e0342304af33 (patch) | |
tree | ec87bd05d5b70181099e9c3de3ea128db0c58dcf /include/linux/ftrace_event.h | |
parent | 4bf0566db15eda214cc64a77d4d3b96e010ec6ac (diff) | |
download | linux-e8dc637152d2921447b012f58c51e0342304af33.tar.xz |
tracing: Fix counter for traceon/off event triggers
The counters for the traceon and traceoff are only suppose to decrement
when the trigger enables or disables tracing. It is not suppose to decrement
every time the event is hit.
Only decrement the counter if the trigger actually did something.
Link: http://lkml.kernel.org/r/20140106223124.0e5fd0b4@gandalf.local.home
Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace_event.h')
0 files changed, 0 insertions, 0 deletions