summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2025-05-20 11:16:30 -0700
committerPeter Zijlstra <peterz@infradead.org>2025-05-21 13:57:43 +0200
commite800ac51202f053018f3d6acb1819ecec4d75a2c (patch)
treeabbf30b14c39b9c81866311bcd54741ce1f0ed04 /scripts/lib/kdoc/kdoc_files.py
parent9734e25fbf5ae68eb04234b2cd14a4b36ab89141 (diff)
perf: Only dump the throttle log for the leader
The PERF_RECORD_THROTTLE records are dumped for all throttled events. It's not necessary for group events, which are throttled altogether. Optimize it by only dump the throttle log for the leader. The sample right after the THROTTLE record must be generated by the actual target event. It is good enough for the perf tool to locate the actual target event. Suggested-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20250520181644.2673067-3-kan.liang@linux.intel.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions