diff options
| author | Like Xu <likexu@tencent.com> | 2022-05-18 21:25:05 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-08 04:48:48 -0400 |
| commit | a40239b4cf33b2de872b04759c3e5ab87cc72a7f (patch) | |
| tree | 8893ff71a6ce8b5f9d4bc3660df069c44a264f85 /tools/perf/scripts/python | |
| parent | 89cb454ea984d0411523dc10e70e9bf0aca1b527 (diff) | |
| download | kernel-a40239b4cf33b2de872b04759c3e5ab87cc72a7f.tar.gz | |
KVM: x86/pmu: Pass only "struct kvm_pmc *pmc" to reprogram_counter()
Passing the reference "struct kvm_pmc *pmc" when creating
pmc->perf_event is sufficient. This change helps to simplify the
calling convention by replacing reprogram_{gp, fixed}_counter()
with reprogram_counter() seamlessly.
No functional change intended.
Signed-off-by: Like Xu <likexu@tencent.com>
Message-Id: <20220518132512.37864-5-likexu@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
