Re: [RFC PATCH 0/4] perf: Custom contexts

From: Arnaldo Carvalho de Melo
Date: Mon Mar 14 2011 - 18:20:10 EST


Em Mon, Mar 14, 2011 at 06:56:03PM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Mon, Mar 14, 2011 at 10:20:53PM +0100, Frederic Weisbecker escreveu:
> > On Mon, Mar 14, 2011 at 06:03:15PM -0300, Arnaldo Carvalho de Melo wrote:
> > > But I could think of this as a way to express filters:

> > > $ perf record -e instructions@irq:irq:irq_handler_entry(irq=eth0)..irq:irq_handler_exit(\1) \
> > > -e instructions \
> > > netperf

> > > looks quite natural for someone used to git and sed, i.e. developers :)

> > Yeah indeed, I like filters defined in parenthesis after the event!
>
> :-)

Also it would be good to look at 68baa43 and think about ways to share
code/syntax in static and dynamic probes...

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