diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2009-12-15 15:39:57 +0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-01-06 12:08:46 -0500 |
commit | 0fa0edaf32b9a78b9854f1da98d4511a501089b0 (patch) | |
tree | 2226710ff7f455cfc9ed9e29252337f70cf3ab33 /include/trace/syscall.h | |
parent | 5a65e956220efc2421e21ee56d6153fd5c533a95 (diff) | |
download | kernel_goldelico_gta04-0fa0edaf32b9a78b9854f1da98d4511a501089b0.zip kernel_goldelico_gta04-0fa0edaf32b9a78b9854f1da98d4511a501089b0.tar.gz kernel_goldelico_gta04-0fa0edaf32b9a78b9854f1da98d4511a501089b0.tar.bz2 |
tracing: Remove show_format and related macros from TRACE_EVENT
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>
Diffstat (limited to 'include/trace/syscall.h')
-rw-r--r-- | include/trace/syscall.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/trace/syscall.h b/include/trace/syscall.h index 961fda3..8cd4102 100644 --- a/include/trace/syscall.h +++ b/include/trace/syscall.h @@ -34,10 +34,6 @@ struct syscall_metadata { extern unsigned long arch_syscall_addr(int nr); extern int init_syscall_trace(struct ftrace_event_call *call); -extern int syscall_enter_format(struct ftrace_event_call *call, - struct trace_seq *s); -extern int syscall_exit_format(struct ftrace_event_call *call, - struct trace_seq *s); extern int syscall_enter_define_fields(struct ftrace_event_call *call); extern int syscall_exit_define_fields(struct ftrace_event_call *call); extern int reg_event_syscall_enter(struct ftrace_event_call *call); |