Re: [PATCH 10/12] add perf counter support

From: Frederic Weisbecker
Date: Tue Aug 11 2009 - 08:25:22 EST


On Tue, Aug 11, 2009 at 02:17:11PM +0200, Ingo Molnar wrote:
>
> * Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
>
> > On Mon, Aug 10, 2009 at 04:53:02PM -0400, Jason Baron wrote:
> > > Make 'perf stat -e syscalls:sys_enter_blah' work with syscall style tracepoints.
> >
> >
> > It would be nice to also be able to type:
> >
> > perf stat -e syscalls:blah
> >
> > and then having both enter/exit counters.
>
> Plus wildcard/regex support would be nice as well in the listing of
> events. That way one could do a shortcut of:
>
> perf stat -e syscalls:*
>
> to trace all syscalls. Or:
>
> perf stat -e syscalls:*read*
>
> to see all the read variants - etc.
>
> Ingo


Plus filters in syscalls field. Because arguments are wrapped and post-processed,
they are not treated as usual fields.
I must confess this part is not trivial though.

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