diff options
author | Dapeng Mi <dapeng1.mi@linux.intel.com> | 2025-04-15 11:44:12 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-04-17 14:21:24 +0200 |
commit | 4a3fd13054a98c43dfcfcbdb93deb43c7b1b9c34 (patch) | |
tree | b517b913630b2ab5bfe972c892cf117d40be7c91 /scripts/lib/kdoc/kdoc_files.py | |
parent | acb727e0956a2424f22e5ab8c1ff9a39d1acb150 (diff) |
perf/x86/intel: Introduce pairs of PEBS static calls
Arch-PEBS retires IA32_PEBS_ENABLE and MSR_PEBS_DATA_CFG MSRs, so
intel_pmu_pebs_enable/disable() and intel_pmu_pebs_enable/disable_all()
are not needed to call for ach-PEBS.
To make the code cleaner, introduce static calls
x86_pmu_pebs_enable/disable() and x86_pmu_pebs_enable/disable_all()
instead of adding "x86_pmu.arch_pebs" check directly in these helpers.
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/20250415114428.341182-7-dapeng1.mi@linux.intel.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions