diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-08-20 10:13:35 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-20 12:12:22 +0200 |
commit | 4539f07701b3f743580d19dc5d655fb8d21b0a3c (patch) | |
tree | 15bb4504cda47f4e5281831eccd91b51dcd4b095 /kernel/tracepoint.c | |
parent | tracing/syscalls: Add filtering support (diff) | |
download | linux-4539f07701b3f743580d19dc5d655fb8d21b0a3c.tar.xz linux-4539f07701b3f743580d19dc5d655fb8d21b0a3c.zip |
tracing/syscalls: Fix the output of syscalls with no arguments
Before:
# echo 1 > events/syscalls/sys_enter_sync/enable
# cat events/syscalls/sys_enter_sync/format
...
field:int nr; offset:12; size:4;
print fmt: "# sync
# cat trace
...
sync-8950 [000] 2366.087670: sys_sync(
After:
# echo 1 > events/syscalls/sys_enter_sync/enable
# cat events/syscalls/sys_enter_sync/format
...
field:int nr; offset:12; size:4;
print fmt: ""
# sync
# cat trace
sync-2134 [001] 136.780735: sys_sync()
Reported-by: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
LKML-Reference: <4A8D05AF.20103@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/tracepoint.c')
0 files changed, 0 insertions, 0 deletions