[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120613215424.GG32604@tassilo.jf.intel.com>
Date: Wed, 13 Jun 2012 14:54:24 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Andi Kleen <andi@...stfloor.org>, mingo@...e.hu,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] perf, x86: Enable PDIR precise instruction profiling
on IvyBridge
> > >nor does the patch actually lift it.
> >
> > Why not? It works for me on a Ivy Bridge.
>
> I'm very sure you didn't test it properly then. Clearly you need a hint:
>
> struct event_constraint intel_snb_pebs_event_constraints[] = {
> INTEL_UEVENT_CONSTRAINT(0x01c0, 0x2), /* INST_RETIRED.PRECDIST */
>
> Is still in effect, isn't it..
Yes it's in effect, and it forces the event to counter 1.
That is correct and that restriction is still there.
Just what is gone is the restriction to quiescence the whole PMU.
Also without that we would refuse to enable PEBS anyways
I believe.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only
--
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