diff options
author | 2021-11-30 15:42:17 +0800 | |
---|---|---|
committer | 2022-01-07 10:44:41 -0500 | |
commit | 7c174f305cbee6bdba5018aae02b84369e7ab995 (patch) | |
tree | 47b1d86f97223e25862e6859ebcecc9d77743fba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86/pmu: Setup pmc->eventsel for fixed PMCs (diff) | |
download | wireguard-linux-7c174f305cbee6bdba5018aae02b84369e7ab995.tar.xz wireguard-linux-7c174f305cbee6bdba5018aae02b84369e7ab995.zip |
KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()
The find_arch_event() returns a "unsigned int" value,
which is used by the pmc_reprogram_counter() to
program a PERF_TYPE_HARDWARE type perf_event.
The returned value is actually the kernel defined generic
perf_hw_id, let's rename it to pmc_perf_hw_id() with simpler
incoming parameters for better self-explanation.
Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20211130074221.93635-3-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