• Li Zefan's avatar
    tracing/syscalls: Fix fields format for enter events · e6971969
    Li Zefan authored
    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: default avatarLi 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: default avatarIngo Molnar <mingo@elte.hu>
    e6971969
trace_syscalls.c 10.3 KB