tracing/syscalls: Fix to print parameter types
authorLi Zefan <lizf@cn.fujitsu.com>
Mon, 17 Aug 2009 08:55:18 +0000 (16:55 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 17 Aug 2009 09:25:09 +0000 (11:25 +0200)
commitba8b3a40ba7e06d00c27508f090803af90e8dbbf
tree7805446c5a6a945dddb872a9b84c3ceee30d1583
parent7ead8b8313d92b3a69a1a61b0dcbc4cd66c960dc
tracing/syscalls: Fix to print parameter types

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: Li 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: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_syscalls.c