From: Steven Rostedt (Red Hat) Date: Tue, 7 Jan 2014 03:25:50 +0000 (-0500) Subject: tracing: Fix counter for traceon/off event triggers X-Git-Tag: v3.14-rc1~133^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8dc637152d2921447b012f58c51e0342304af33;p=pandora-kernel.git 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed