diff options
author | Like Xu <likexu@tencent.com> | 2021-11-30 15:42:16 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-01-07 10:44:41 -0500 |
commit | 761875634a5e2c3fed36c439fc4acac6f85a96eb (patch) | |
tree | b5048fbb30c045a64a9cccdd01cb8ab14d3b7ac5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 006a0f0607e1504950dd8fa3b6ca8e438ec6c9d2 (diff) |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions