diff options
author | 2019-10-27 18:52:40 +0800 | |
---|---|---|
committer | 2019-11-15 11:44:08 +0100 | |
commit | 98ff80f5b788c1818464022cc61924ef5630d99d (patch) | |
tree | c86ce065c6a8843e01afc33d08ed190c5e61920e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf/core: Provide a kernel-internal interface to pause perf_event (diff) | |
download | linux-dev-98ff80f5b788c1818464022cc61924ef5630d99d.tar.xz linux-dev-98ff80f5b788c1818464022cc61924ef5630d99d.zip |
KVM: x86/vPMU: Rename pmu_ops callbacks from msr_idx to rdpmc_ecx
The leagcy pmu_ops->msr_idx_to_pmc is only called in kvm_pmu_rdpmc, so
this function actually receives the contents of ECX before RDPMC, and
translates it to a kvm_pmc. Let's clarify its semantic by renaming the
existing msr_idx_to_pmc to rdpmc_ecx_to_pmc, and is_valid_msr_idx to
is_valid_rdpmc_ecx; likewise for the wrapper kvm_pmu_is_valid_msr_idx.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Like Xu <like.xu@linux.intel.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