Re: [PATCH 2/2] perf, x86: Enable PDIR precise instruction profiling on IvyBridge

Andi Kleen
2012-06-13T22:04:56Z

On Wed, Jun 13, 2012 at 11:58:58PM +0200, Peter Zijlstra wrote:
> On Wed, 2012-06-13 at 14:54 -0700, Andi Kleen wrote:
> > Yes it's in effect, and it forces the event to counter 1.
> > That is correct and that restriction is still there.
>
> OK, when we cannot magically replace 'instructions' with pdir.

Why not? You want a new event?

It's still retired instructions, just sampled in a slightly different way.

Today instructions:pp just errors out BTW, so nothing should rely on it.

-Andi

--
ak@linux.intel.com -- Speaking for myself only