tracing: Remove duplicate id information in event structure
authorSteven Rostedt <srostedt@redhat.com>
Fri, 23 Apr 2010 14:38:03 +0000 (10:38 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 14 May 2010 18:33:15 +0000 (14:33 -0400)
commit32c0edaeaad74a7883e736ae0f3798784cfc2a80
treee70784ed690172cb0f1b4365b93aa077d40219c9
parent80decc70afc57c87eee9d6b836aec2ecacba3457
tracing: Remove duplicate id information in event structure

Now that the trace_event structure is embedded in the ftrace_event_call
structure, there is no need for the ftrace_event_call id field.
The id field is the same as the trace_event type field.

Removing the id and re-arranging the structure brings down the tracepoint
footprint by another 5K.

   text    data     bss     dec     hex filename
4913961 1088356  861512 6863829  68bbd5 vmlinux.orig
4895024 1023812  861512 6780348  6775bc vmlinux.print
4894944 1018052  861512 6774508  675eec vmlinux.id

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace_event.h
include/trace/ftrace.h
kernel/trace/trace_event_perf.c
kernel/trace/trace_events.c
kernel/trace/trace_events_filter.c
kernel/trace/trace_export.c
kernel/trace/trace_kprobe.c
kernel/trace/trace_syscalls.c