Re: [PATCH v2 2/2] perf/x86: enable cycles:pp for Intel Atom

From: Stephane Eranian
Date: Thu Dec 03 2015 - 16:44:48 EST


On Thu, Dec 3, 2015 at 12:14 PM, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
>
> > /* INST_RETIRED.ANY_P, inv=1, cmask=16 (cycles:p). */
> > INTEL_FLAGS_EVENT_CONSTRAINT(0x108000c0, 0x01),
> > + /* Allow all events as PEBS with no flags */
> > + INTEL_ALL_EVENT_CONSTRAINT(0, 0x1),
>
> I don't think this is really needed (no extra PEBS events), but ok it shouldn't
> hurt either.
>
Has to do with consistent behavior. Do not get an error if trying PEBS
on non-PEBS
event, like for the other CPUs.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/