tracing/filters: Add filter_type to struct ftrace_event_field
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 7 Aug 2009 02:33:02 +0000 (10:33 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 26 Aug 2009 04:32:06 +0000 (00:32 -0400)
commitaa38e9fc3ea804290efd3a39316d7f7e6c945800
tree8f9766b20c9006c1373f11c927fb46441e01df0f
parent6591b493871cf9b17de2ba272edb8ab529a8058b
tracing/filters: Add filter_type to struct ftrace_event_field

The type of a field is stored as a string in @type, and here
we add @filter_type which is an enum value.

This prepares for later patches, so we can specifically assign
different @filter_type for the same @type.

For example normally a "char *" field is treated as a ptr,
but we may want it to be treated as a string when doing filting.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4A7B925E.9030605@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.h
kernel/trace/trace_events.c
kernel/trace/trace_events_filter.c