tracing/syscalls: Fix fields format for enter events
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 19 Aug 2009 07:52:25 +0000 (15:52 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 19 Aug 2009 13:02:22 +0000 (15:02 +0200)
commite6971969c331caa5c3c88cbd1be4f465b3355452
tree0d66906d1882566257db824b38ab905d8a0dc721
parent5e9ad7df9fd056f1071af8aa91034a1c3170257d
tracing/syscalls: Fix fields format for enter events

The "format" file of a trace event is originally for parsers to
parse ftrace binary output.

But the "format" file of a syscall event can only be used by
perfcounter, because it describes the format of struct
syscall_enter_record not struct syscall_trace_enter.

To fix this, we remove struct syscall_enter_record, and then
struct syscall_trace_enter will be used by both perf profile
and ftrace.

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: <4A8BAF39.1030404@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_syscalls.c