tracing: Add event record param to trigger_ops.func()
authorTom Zanussi <tom.zanussi@linux.intel.com>
Thu, 10 Dec 2015 18:50:45 +0000 (12:50 -0600)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 8 Mar 2016 16:19:31 +0000 (11:19 -0500)
commitc4a5923055c9e0c87dfc0387f7cda5ee2bbac3c1
tree7305e201b8266766594fa1f16c74e91318185492
parentab4bf008928e8fc73fe1cbaa9249792d36845345
tracing: Add event record param to trigger_ops.func()

Some triggers may need access to the trace event, so pass it in.  Also
fix up the existing trigger funcs and their callers.

Link: http://lkml.kernel.org/r/543e31e9fc445ef61077421ab219033401c39846.1449767187.git.tom.zanussi@linux.intel.com
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Tested-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/trace_events.h
kernel/trace/trace.h
kernel/trace/trace_events_trigger.c