tracing: Move find_event_field() into trace_events.c
authorzhangwei(Jovi) <jovi.zhangwei@huawei.com>
Mon, 11 Mar 2013 07:13:42 +0000 (15:13 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 17:22:07 +0000 (13:22 -0400)
commitb3a8c6fd7bb61c910bd4f80ae1d75056e8f98c19
tree6f99dd222887d6ec1b5ba785863d3ad1cd0156ff
parentbd6df18716fa45bc4aa9587aca033de909e5382b
tracing: Move find_event_field() into trace_events.c

By moving find_event_field() and trace_find_field() into trace_events.c,
the ftrace_common_fields list and trace_get_fields() can become local to
the trace_events.c file.

find_event_field() is renamed to trace_find_event_field() to conform to
the tracing global function names.

Link: http://lkml.kernel.org/r/513D8426.9070109@huawei.com
Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com>
[ rostedt: Modified trace_find_field() to trace_find_event_field() ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.h
kernel/trace/trace_events.c
kernel/trace/trace_events_filter.c