perf/x86: Fix LLC-* and node-* events on Intel SandyBridge
authorYan, Zheng <zheng.z.yan@intel.com>
Tue, 17 Jul 2012 09:27:55 +0000 (17:27 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 26 Jul 2012 10:23:12 +0000 (12:23 +0200)
commit74e6543fdc4e7553f572f7898ade649a09d85049
tree83cee92746b5f8027806ef51b84db31628c6abac
parent254298c726b93bb8ed92774b4a209b479851fa6d
perf/x86: Fix LLC-* and node-* events on Intel SandyBridge

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.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1342517275-2875-1-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel.c