summaryrefslogtreecommitdiffstats
path: root/scripts/unifdef.c
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2014-09-04 16:08:27 -0700
committerIngo Molnar <mingo@kernel.org>2014-09-24 14:48:22 +0200
commit513d793e5fe138d779ad6c532cd20c289a6897fc (patch)
tree4a95b41c4e2296366f2ad16aa6ff20ecb3eaf827 /scripts/unifdef.c
parente735b9db12d76d45f74aee78bd63bbd2f8f480e1 (diff)
perf/x86/intel/uncore: Register the PMU only if the uncore pci device exists
Current code registers PMUs for all possible uncore pci devices. This is not good because, on some machines, one or more uncore pci devices can be missing. The missing pci device make corresponding PMU unusable. Register the PMU only if the uncore device exists. Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: eranian@google.com Link: http://lkml.kernel.org/r/1409872109-31645-3-git-send-email-andi@firstfloor.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions