Landing: 908c597d32ed
Project / Subsystem
gcc / aarch64
Date
2026-07-06
Author
Kyrylo Tkachov
Commit
908c597d32ed4670d5d9b6b1706a786a9f95da05
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- aarch64
- patch_id
- —
- commit_hash
- 908c597d32ed4670d5d9b6b1706a786a9f95da05
- source_type
- github
- headline
- aarch64: Limit Arm SPE probes to PMU events
- tldr
- Speeds up GCC bootstrap on AArch64 by limiting Arm SPE profiling probes to PMU events.
- author
- Kyrylo Tkachov
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • aarch64
- • performance
- • profiling
- • bootstrap
- • toolchain
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-06T00:00:00.000Z
This commit improves the speed of GCC’s bootstrap process on AArch64 systems by limiting performance counter probes for Arm Scalable Performance Monitoring Events (SPE). Previously, the autoprofile script would scan all available perf events, which could be slow on systems with many event types. By using perf list pmu, the probes now focus only on Performance Monitoring Unit (PMU) events, which include Arm SPE. This change reduces bootstrap time and ensures that the probe remains efficient without excluding relevant SPE events.