perf/x86: Detect number of instances of uncore CBox
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 4 Jul 2012 06:00:14 +0000 (14:00 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 5 Jul 2012 19:56:00 +0000 (21:56 +0200)
commit42089697244ba8e64fa43fb5e6d50d47a8e4cb00
tree63564a410f0e7a164c5f8fb8d4ae1eb58b73b66f
parent3b19e4c98c035c9ab218fc64ef26f4f7a30eafb9
perf/x86: Detect number of instances of uncore CBox

The CBox manages the interface between the core and the LLC, so
the instances of uncore CBox is equal to number of cores.

Reported-by: Andrew Cooks <acooks@gmail.com>
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/1341381616-12229-4-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_uncore.c