• Li Zefan's avatar
    tracing/syscalls: Fix to print parameter types · ba8b3a40
    Li Zefan authored
    When syscall tracing was implemented as a tracer,
    "syscall_arg_type" trace option could be set to enable the
    display of syscall parameter types.
    
    Now this option is gone since it's no longer a tracer, but the
    code is still there but dead.
    
    So we remove dead code and re-enable the printing of paramete
    types via the verbose option:
    
      # echo verbose > trace_options
      # echo syscalls > set_event
      # cat trace
    	...
            bash-3331  [000]    95.348937: sys_fcntl64 -> 0x1
            bash-3331  [000]    95.348942: sys_close(unsigned int fd: a)
    	...
    Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Jason Baron <jbaron@redhat.com>
    LKML-Reference: <4A891AF6.5050102@cn.fujitsu.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    ba8b3a40
trace_syscalls.c 10.1 KB