diff options
author | Yan, Zheng <[email protected]> | 2014-09-04 16:08:27 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-09-24 14:48:22 +0200 |
commit | 513d793e5fe138d779ad6c532cd20c289a6897fc (patch) | |
tree | 4a95b41c4e2296366f2ad16aa6ff20ecb3eaf827 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e735b9db12d76d45f74aee78bd63bbd2f8f480e1 (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 <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions