]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68acba529a8150435ed2ad0cf3f8d9b4af319c34
treeaac0db92d00b238236cbe64d562ff83f8978bb18
parent076b2fe7649bbe0ce6c6da1f1c3d21d863cd7052
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