Messages in this thread | | | Date | Mon, 22 Jul 2013 23:01:08 -0700 | From | Andi Kleen <> | Subject | Re: [PATCH 1/2] tools, perf: Add a precise event qualifier v2 |
| |
On Tue, Jul 23, 2013 at 01:40:40AM -0400, Vince Weaver wrote: > On Mon, 22 Jul 2013, Andi Kleen wrote: > > > From: Andi Kleen <ak@linux.intel.com> > > > > Add a precise qualifier, like cpu/event=0x3c,precise=1/ > > So you're adding this to "events/" but not to "format/"?
Fair point, but note that precise_ip is a bitfield. Since there is no way to express that currently the parser would need to special case it anyways.
So it could be just added as precise_ip: precise_ip in events/, but I have some doubts that really helps anyone.
Or invent some new syntax to abstract the bitfields, but that also would need changes.
> This will break various existing programs.
Like what?
-Andi
-- ak@linux.intel.com -- Speaking for myself only
| |