diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2009-12-15 08:39:53 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-01-06 18:08:20 +0100 |
commit | 5a65e956220efc2421e21ee56d6153fd5c533a95 (patch) | |
tree | 66cb79949a14f79ec5ece050c12a8cc587a0b2e2 /kernel/trace/trace_export.c | |
parent | tracing: Have syscall tracing call its own init function (diff) | |
download | linux-5a65e956220efc2421e21ee56d6153fd5c533a95.tar.xz linux-5a65e956220efc2421e21ee56d6153fd5c533a95.zip |
tracing: Use defined fields and print_fmt to print formats
The calls ftrace_format_##call() and ftrace_define_fields_##call()
are almost duplicate in functionality. With the addition of the
print_fmt in previous patches, these two functions can be merged
into one.
The trace_define_field() defines the fields and links them into
the struct ftrace_event_call. The previous patches introduced
the print_fmt field and this can now be used with the trace_define_field()
to create the event format file fields and print_fmt field.
The struct ftrace_event_call->fields are used to print the fields
The struct ftrace_event_call->print_fmt is used to print
the "print fmt: XXXXXXXXXXX" line.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
LKML-Reference: <4B273D49.5000006@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_export.c')
0 files changed, 0 insertions, 0 deletions