Re: [PATCH] trace_syscalls: add missed field

From: Frederic Weisbecker
Date: Thu Nov 26 2009 - 17:32:03 EST


On Thu, Nov 26, 2009 at 03:49:33PM +0800, Lai Jiangshan wrote:
>
> Field syscall number is missed in syscall_enter_define_fields()/
> syscall_exit_define_fields().
>
> syscall number is also needed for event filter or other users.
>
> Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>



Well, I don't think it's very useful for in-kernel filtering.
Filtering a syscall event by its number would mean filtering all
event for this syscall. This is the same as not tracing it.

Or do you have other usecases in mind?

Thanks.

--
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/