ftrace, perf: Add add/del tracepoint perf registration actions
authorJiri Olsa <jolsa@redhat.com>
Wed, 15 Feb 2012 14:51:50 +0000 (15:51 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 21 Feb 2012 16:08:25 +0000 (11:08 -0500)
commit489c75c3b333dfda4c8d2b7ad1b00e5da024bfa7
treebeb0b36b48dfbbe389ea14e36be75b4837ad0cf1
parentceec0b6fc7cd43b38a40c2d40223f9cd0616f0cd
ftrace, perf: Add add/del tracepoint perf registration actions

Adding TRACE_REG_PERF_ADD and TRACE_REG_PERF_DEL to handle
perf event schedule in/out actions.

The add action is invoked for when the perf event is scheduled in,
while the del action is invoked when the event is scheduled out.

Link: http://lkml.kernel.org/r/1329317514-8131-4-git-send-email-jolsa@redhat.com
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace_event.h
kernel/trace/trace_event_perf.c
kernel/trace/trace_events.c
kernel/trace/trace_kprobe.c
kernel/trace/trace_syscalls.c