diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-01-07 03:32:10 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-01-10 03:20:07 +0100 |
commit | 13a1e4aef53b2a7684ddee374e749999ba103b4a (patch) | |
tree | 74acb760b6d12d4faaae4c4c76a146855e8352a5 /include/drm/drm_hashtab.h | |
parent | tracing: Fix counter for traceon/off event triggers (diff) | |
download | linux-13a1e4aef53b2a7684ddee374e749999ba103b4a.tar.xz linux-13a1e4aef53b2a7684ddee374e749999ba103b4a.zip |
tracing: Consolidate event trigger code
The event trigger code that checks for callback triggers before and
after recording of an event has lots of flags checks. This code is
duplicated throughout the ftrace events, kprobes and system calls.
They all do the exact same checks against the event flags.
Added helper functions ftrace_trigger_soft_disabled(),
event_trigger_unlock_commit() and event_trigger_unlock_commit_regs()
that consolidated the code and these are used instead.
Link: http://lkml.kernel.org/r/20140106222703.5e7dbba2@gandalf.local.home
Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Tested-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/drm/drm_hashtab.h')
0 files changed, 0 insertions, 0 deletions