Re: [PATCH -tip] perf: x86, add SandyBridge support

From: Andi Kleen
Date: Thu Feb 24 2011 - 09:02:23 EST


> + [ C(OP_READ) ] = {
> + [ C(RESULT_ACCESS) ] = 0x04d1, /* MEM_LOAD_UOPS_RETIRED.LLC_HIT */
> + [ C(RESULT_MISS) ] = 0x0,
> + },
> + [ C(OP_WRITE) ] = {
> + [ C(RESULT_ACCESS) ] = 0x0424, /* L2_RQSTS.RFO_HITS */
> + [ C(RESULT_MISS) ] = 0x0824, /* L2_RQSTS.RFO_MISS */

No! You really need offcore here. L2 is not LLC!!!
See the offcore patchkit which fixes this for Nehalem.

-Andi
--
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/