Re: [PATCH] perf/x86: Fix LLC-* and node-* events on IntelSandyBridge

From: Peter Zijlstra
Date: Fri Jul 20 2012 - 12:48:28 EST


On Tue, 2012-07-17 at 17:27 +0800, Yan, Zheng wrote:
> From: "Yan, Zheng" <zheng.z.yan@xxxxxxxxx>
>
> LLC-* and node-* events require using the OFFCORE_RESPONSE events
> on SandyBridge, but the hw_cache_extra_regs is left uninitialized.
> This patch adds the missing extra register configure table for
> SandyBridge.

Last time I tried this I couldn't get sane numbers out of it..

Does these encodings work, if so, do explain them.

Also:

> +#define SNB_REMOTE (0xffULL << 23)

I guess I can take this as an 'official' publication of this fact?

(I knew those bits meant this, but I never got a response if I could
publish that information.)
--
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/