diff options
| author | Like Xu <[email protected]> | 2022-05-18 21:25:05 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-08 04:48:48 -0400 |
| commit | a40239b4cf33b2de872b04759c3e5ab87cc72a7f (patch) | |
| tree | 8893ff71a6ce8b5f9d4bc3660df069c44a264f85 /tools/perf/scripts/python/flamegraph.py | |
| parent | 89cb454ea984d0411523dc10e70e9bf0aca1b527 (diff) | |
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions