Re: [PATCH] tracing: Move tracepoint callbacks into DEFINE

From: Josh Stone
Date: Tue Aug 18 2009 - 18:11:58 EST


On 08/18/2009 07:19 AM, Jason Baron wrote:
> this makes sense...Ingo also suggested having the two high level
> tracepoints be 'TRACE_EVENT' style. That is we should be able to
> register with the syscall entry and get the *all* the syscall numbers
> and arguments, and likewise on exit we should be able to get *all*
> syscall exit return values. see:
>
> http://marc.info/?l=linux-kernel&m=125008740803571&w=2
>
> does this patch allow/do that?

It does allow this, and I am working on a patch to do it. There are a
few naming conflicts between trace_syscalls.c and the stuff that ftrace
generates for "TRACE_EVENT(syscall_enter, ...)", but I will post soon
with a patch to resolve this.

Thanks,

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