On Tue, Jul 21, 2026 at 04:29:15PM +0200, [email protected] wrote: > From: Kyrylo Tkachov <[email protected]> > > The autoprofile bootstrap support probes for Arm SPE from gcc/configure, > gcc-auto-profile, and the profile-optimization testsuite support. Each > bare "perf list" scans every event class even though arm_spe is a PMU. > This can make the probe unnecessarily slow on systems with many events. > > Use "perf list pmu" at all three call sites. The PMU event class filter > has long been supported by perf and still reports arm_spe. Stubbed BRBE, > SPE, and fallback paths select the same profiler as before. > > This patch actually saves a few minutes of end-to-end bootstrap time on my SPE > AArch64 many-core system.
Or just -d /sys/devices/arm_spe ? (or what the right PMU name is) But yes it's a clear improvement. BTW do you actually see a faster compiler out of autoprofiledbootstrap? I currently don't on x86. -Andi
