aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRadim Krčmář <[email protected]>2017-05-18 19:37:31 +0200
committerRadim Krčmář <[email protected]>2017-05-19 19:59:27 +0200
commit34b0dadbdf698f9b277a31b2747b625b9a75ea1f (patch)
tree992122c8f5b91773bbc18d45d15184e2e43b7a9d /tools/perf/scripts/python/export-to-postgresql.py
parentf0367ee1d64d27fa08be2407df5c125442e885e3 (diff)
KVM: x86/vPMU: fix undefined shift in intel_pmu_refresh()
Static analysis noticed that pmu->nr_arch_gp_counters can be 32 (INTEL_PMC_MAX_GENERIC) and therefore cannot be used to shift 'int'. I didn't add BUILD_BUG_ON for it as we have a better checker. Reported-by: Dan Carpenter <[email protected]> Fixes: 25462f7f5295 ("KVM: x86/vPMU: Define kvm_pmu_ops to support vPMU function dispatch") Reviewed-by: Paolo Bonzini <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions