diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2013-06-29 00:08:07 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-07-01 20:34:26 -0400 |
commit | 3baa5e4cf224b8a55220cc841bb475e164b84ceb (patch) | |
tree | a72b25de0dee2b538d94d8e08c1c9487a0cbd535 /kernel/trace/trace_irqsoff.c | |
parent | 44a6a4ee1aed0eada8f21e6db81b4cd099788f82 (diff) | |
download | op-kernel-dev-3baa5e4cf224b8a55220cc841bb475e164b84ceb.zip op-kernel-dev-3baa5e4cf224b8a55220cc841bb475e164b84ceb.tar.gz |
tracing: Fix disabling of soft disable
The comment on the soft disable 'disable' case of
__ftrace_event_enable_disable() states that the soft disable bit
should be cleared in that case, but currently only the soft mode bit
is actually cleared.
This essentially leaves the standard non-soft-enable enable/disable
paths as the only way to clear the soft disable flag, but the soft
disable bit should also be cleared when removing a trigger with '!'.
Also, the SOFT_DISABLED bit should never be set if SOFT_MODE is
cleared.
This fixes the above discrepancies.
Link: http://lkml.kernel.org/r/b9c68dd50bc07019e6c67d3f9b29be4ef1b2badb.1372479499.git.tom.zanussi@linux.intel.com
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_irqsoff.c')
0 files changed, 0 insertions, 0 deletions