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

From: Stephane Eranian
Date: Wed May 23 2012 - 11:21:14 EST


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/

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