ftrace: Add FTRACE_ENTRY_REG macro to allow event registration
authorJiri Olsa <jolsa@redhat.com>
Wed, 15 Feb 2012 14:51:51 +0000 (15:51 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 21 Feb 2012 16:08:26 +0000 (11:08 -0500)
commite59a0bff3ecf389951e3c9378ddfd00f6448bfaa
tree315214953499b428a6a26d08fe3b5038e4ec5e1e
parent489c75c3b333dfda4c8d2b7ad1b00e5da024bfa7
ftrace: Add FTRACE_ENTRY_REG macro to allow event registration

Adding FTRACE_ENTRY_REG macro so particular ftrace entries
could specify registration function and thus become accesible
via perf.

This will be used in upcomming patch for function trace.

Link: http://lkml.kernel.org/r/1329317514-8131-5-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>
kernel/trace/trace.h
kernel/trace/trace_export.c