Re: [RFC 0/5] perf, tool: uncore related changes

From: Jiri Olsa
Date: Wed May 23 2012 - 11:29:08 EST


On Wed, May 23, 2012 at 05:21:11PM +0200, Stephane Eranian wrote:
> On Wed, May 23, 2012 at 5:16 PM, Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
> > On Wed, May 23, 2012 at 04:53:13PM +0200, Stephane Eranian wrote:
> >> Jiri,
> >>
> >> Is there a way with the current parser to have a syntax as follows:
> >>
> >>  perf stat -e cpu/event=cycles,edge/ ...
> >>
> >> In other words, avoid juggling between -e cycles and the -e
> >> cpu/event=.../ syntax?
> >
> Also with this new syntax, how am I supposed to request precise sampling?
>
> perf stat -e cpu/event=cycles,edge,precise=1/
if 'precise' is one of your pmu format terms you can use it like that

but 'precise' stayed in the event modifier, so:

perf stat -e cpu/event=cycles,edge/pp..


>
> > I think it's possible.. so far we have the cpu/event=../ term in use for number
> > assignment. We could do string translation to appropriate values.. I'll check
> >
> > added to my todo list ;)
> >
> > jirka
--
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/