[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1339623838.8980.71.camel@twins>
Date: Wed, 13 Jun 2012 23:43:58 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Andi Kleen <ak@...ux.intel.com>
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
On Wed, 2012-06-13 at 14:36 -0700, Andi Kleen wrote:
> > This patch is just wrong on too many levels.. where do you want me to
> > start. Lets go with the restriction you mention is lifted, the SDM
> > doesn't mention this,
>
> The SDM is wrong. The restriction is Sandy Bridge only.
It would be good to mention this -- at the very least until the SDM is
revised.
> >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..
--
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