summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2025-03-27 12:52:14 -0700
committerPeter Zijlstra <peterz@infradead.org>2025-04-08 20:55:48 +0200
commit0a6557938d8f189024a03aca77e58763930840ee (patch)
treedbce082aec17233a0439d96caff3bf7cb7b5394c /scripts/lib/kdoc/kdoc_files.py
parent4dfe3232cc04325a09e96f6c7f9546ba6c0b132b (diff)
perf/x86/intel: Track the num of events needs late setup
When a machine supports PEBS v6, perf unconditionally searches the cpuc->event_list[] for every event and check if the late setup is required, which is unnecessary. The late setup is only required for special events, e.g., events support counters snapshotting feature. Add n_late_setup to track the num of events that needs the late setup. Other features, e.g., auto counter reload feature, require the late setup as well. Add a wrapper, intel_pmu_pebs_late_setup, for the events that support counters snapshotting feature. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Thomas Falcon <thomas.falcon@intel.com> Link: https://lkml.kernel.org/r/20250327195217.2683619-3-kan.liang@linux.intel.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions