tracing/kprobes: Add trace event trigger invocations
authorTom Zanussi <tom.zanussi@linux.intel.com>
Mon, 6 Jan 2014 19:44:19 +0000 (13:44 -0600)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 6 Jan 2014 20:21:43 +0000 (15:21 -0500)
commit0641d368f206f2fe7725c9fa5f1461229ef8010f
treeaac0db92d00b238236cbe64d562ff83f8978bb18
parente0d18fe063464cb3f1a6d1939e4fcf47d92d8386
tracing/kprobes: Add trace event trigger invocations

Add code to the kprobe/kretprobe event functions that will invoke any
event triggers associated with a probe's ftrace_event_file.

The code to do this is very similar to the invocation code already
used to invoke the triggers associated with static events and
essentially replaces the existing soft-disable checks with a superset
that preserves the original behavior but adds the bits needed to
support event triggers.

Link: http://lkml.kernel.org/r/f2d49f157b608070045fdb26c9564d5a05a5a7d0.1389036657.git.tom.zanussi@linux.intel.com
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_kprobe.c