[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 11 Nov 2010 11:38:16 -0800
From: Corey Ashford <cjashfor@...ux.vnet.ibm.com>
To: Andi Kleen <ak@...ux.intel.com>
CC: Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org,
fweisbec@...il.com, a.p.zijlstra@...llo.nl, mingo@...e.hu,
acme@...hat.com, eranian@...gle.com
Subject: Re: [PATCH 2/3] perf: Add support for extra parameters for raw events
On 11/11/2010 10:39 AM, Andi Kleen wrote:
>
>> It's not clear to me that a comma is the best character to use in this
>> instance, because multiple events can be listed after the -e separated
>> by commas as well, for example: -e rXXXX,cycles.
>> -e rXXXX,YYYY,cycles would be confusing to read.
>>
>> How about -e rXXXX[+YYYY]
>
> That's a good point. The comma seems to work in my testing though for
> some reason, but I guess
> I broke the multiple events case then. I'll switch over to +
>
> -Andi
>
I think it would have parsed OK, but it is a confusing syntax to look
at. I should point out that there are also the u,k,h modifiers which
can be specified, even on raw events, so the full syntax looks something
like:
-e rXXXX[+YYYY][:u|:k|:h]
- Corey
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists