Re: [PATCH] tracing/syscalls: Fix the output of syscalls with noarguments

From: Frederic Weisbecker
Date: Thu Aug 20 2009 - 07:34:28 EST


On Thu, Aug 20, 2009 at 04:13:35PM +0800, Li Zefan wrote:
> 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@xxxxxxxxxx>
> Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
> ---


Thanks for fixing this!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/