tracing/events: Add trace_define_common_fields()
commite647d6b314266adb904d4b84973eda0afa856946
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 19 Aug 2009 07:54:32 +0000 (19 15:54 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 19 Aug 2009 13:02:24 +0000 (19 15:02 +0200)
treee4f18b57d37a25910b3d19b6c2461f87db0084a3
parent14be96c9716cb8c46dca94bd890defd7856e0734
tracing/events: Add trace_define_common_fields()

Extract duplicate code. Also prepare for the later patch.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A8BAFB8.1010304@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ftrace_event.h
include/trace/ftrace.h
kernel/trace/trace_events.c
kernel/trace/trace_export.c