diff options
author | Like Xu <likexu@tencent.com> | 2022-09-22 23:40:38 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2022-09-28 22:47:21 +0300 |
commit | c0245b774203f7341ddb1cce29a6ee607857f325 (patch) | |
tree | abd81812394e926801334dd89c2d6302d27b6865 /tools/perf/scripts/python/stackcollapse.py | |
parent | f331601c65ad217a5c000ce20c26266d3f0aceb3 (diff) | |
download | linux-c0245b774203f7341ddb1cce29a6ee607857f325.tar.xz |
KVM: x86/pmu: Refactor PERF_GLOBAL_CTRL update helper for reuse by PEBS
Extract the "global ctrl" specific bits out of global_ctrl_changed() so
that the helper only deals with reprogramming general purpose counters,
and rename the helper accordingly. PEBS needs the same logic, i.e needs
to reprogram counters associated when PEBS_ENABLE bits are toggled, and
will use the helper in a future fix.
No functional change intended.
Signed-off-by: Like Xu <likexu@tencent.com>
Link: https://lore.kernel.org/r/20220831085328.45489-4-likexu@tencent.com
[sean: split to separate patch, write changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions