aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2019-10-08 15:09:55 +0100
committerMarc Zyngier <[email protected]>2019-10-20 10:47:07 +0100
commit725ce66979fb6da5c1aec5b064d0871bedc23bf7 (patch)
tree160b07ae49fd048279fc3a8684fafc17de14bbd4 /tools/perf/scripts/python/export-to-postgresql.py
parent6f16371453476fd094760ea3d6f00144e9ae3057 (diff)
KVM: arm64: pmu: Set the CHAINED attribute before creating the in-kernel event
The current convention for KVM to request a chained event from the host PMU is to set bit[0] in attr.config1 (PERF_ATTR_CFG1_KVM_PMU_CHAINED). But as it turns out, this bit gets set *after* we create the kernel event that backs our virtual counter, meaning that we never get a 64bit counter. Moving the setting to an earlier point solves the problem. Fixes: 80f393a23be6 ("KVM: arm/arm64: Support chained PMU counters") Reviewed-by: Andrew Murray <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions