]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
ftrace: Allow to specify filter field type for ftrace events
authorJiri Olsa <jolsa@redhat.com>
Wed, 15 Feb 2012 14:51:53 +0000 (15:51 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 21 Feb 2012 16:08:29 +0000 (11:08 -0500)
commit02aa3162edaa166a01d193f80ccde890be8b55da
tree50f111c12472e5573b966d7fb076ba4b22c86669
parentced39002f5ea736b716ae233fb68b26d59783912
ftrace: Allow to specify filter field type for ftrace events

Adding FILTER_TRACE_FN event field type for function tracepoint
event, so it can be properly recognized within filtering code.

Currently all fields of ftrace subsystem events share the common
field type FILTER_OTHER. Since the function trace fields need
special care within the filtering code we need to recognize it
properly, hence adding the FILTER_TRACE_FN event type.

Adding filter parameter to the FTRACE_ENTRY macro, to specify the
filter field type for the event.

Link: http://lkml.kernel.org/r/1329317514-8131-7-git-send-email-jolsa@redhat.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.h
kernel/trace/trace_entries.h
kernel/trace/trace_events_filter.c
kernel/trace/trace_export.c