]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f46302609d4f9a5aec28d05cb77c49eec599800
tree83cee92746b5f8027806ef51b84db31628c6abac
parent3abf98cc63ac3ba2d89f53d67226a1ed44c84515
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