tracing: Remove show_format and related macros from TRACE_EVENT
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 15 Dec 2009 07:39:57 +0000 (15:39 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 6 Jan 2010 17:08:46 +0000 (12:08 -0500)
The previous patches added the use of print_fmt string and changes
the trace_define_field() function to also create the fields and
format output for the event format files.

   text    data     bss     dec     hex filename
5857201 1355780 9336808 16549789  fc879d vmlinux
5884589 1351684 9337896 16574169  fce6d9 vmlinux-orig

The above shows the size of the vmlinux after this patch set
compared to the vmlinux-orig which is before the patch set.

This saves us 27k on text, 1k on bss and adds just 4k of data.

The total savings of 24k in size.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
LKML-Reference: <4B273D4D.40604@cn.fujitsu.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found