tracing/filters: Add __field_ext() to TRACE_EVENT
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 7 Aug 2009 02:33:22 +0000 (10:33 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 26 Aug 2009 04:32:06 +0000 (00:32 -0400)
commit43b51ead3f752a3935116e5b1a94254b8573734f
tree5d9e88635c85ba7b1d273dea3c4d8d96e5000154
parentaa38e9fc3ea804290efd3a39316d7f7e6c945800
tracing/filters: Add __field_ext() to TRACE_EVENT

Add __field_ext(), so a field can be assigned to a specific
filter_type, which matches a corresponding filter function.

For example, a later patch will allow this:
__field_ext(const char *, str, FILTER_PTR_STR);

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4A7B9272.6050709@cn.fujitsu.com>

[
  Fixed a -1 to FILTER_OTHER
  Forward ported to latest kernel.
]

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace_event.h
include/trace/ftrace.h
kernel/trace/trace_events.c
kernel/trace/trace_events_filter.c
kernel/trace/trace_export.c
kernel/trace/trace_syscalls.c