summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLike Xu <likexu@tencent.com>2022-05-18 21:25:05 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-08 04:48:48 -0400
commita40239b4cf33b2de872b04759c3e5ab87cc72a7f (patch)
tree8893ff71a6ce8b5f9d4bc3660df069c44a264f85 /tools/perf/scripts/python/flamegraph.py
parent89cb454ea984d0411523dc10e70e9bf0aca1b527 (diff)
downloadkernel-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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions