diff options
author | 2021-11-30 15:42:16 +0800 | |
---|---|---|
committer | 2022-01-07 10:44:41 -0500 | |
commit | 761875634a5e2c3fed36c439fc4acac6f85a96eb (patch) | |
tree | b5048fbb30c045a64a9cccdd01cb8ab14d3b7ac5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: avoid out of bounds indices for fixed performance counters (diff) | |
download | wireguard-linux-761875634a5e2c3fed36c439fc4acac6f85a96eb.tar.xz wireguard-linux-761875634a5e2c3fed36c439fc4acac6f85a96eb.zip |
KVM: x86/pmu: Setup pmc->eventsel for fixed PMCs
The current pmc->eventsel for fixed counter is underutilised. The
pmc->eventsel can be setup for all known available fixed counters
since we have mapping between fixed pmc index and
the intel_arch_events array.
Either gp or fixed counter, it will simplify the later checks for
consistency between eventsel and perf_hw_id.
Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20211130074221.93635-2-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions