5df258ae1ad01fc75705a35296a29fd359121845
commit
5df258ae1ad01fc75705a35296a29fd359121845 (HEAD)
Author: Dhruv Chawla <dhruvc@nvidia.com>
Date: Thu Feb 12 04:06:03 2026 +0000
aarch64: AutoFDO: Add support for ARM SPE to autoprofiledbootstrap
added
set profiler_check [string trim [lindex [remote_exec target "perf list | grep arm_spe"] 1]]
to lib/profopt.exp which caused:
WARNING: program timed out
during "make check":
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124849
Pass --no-pager to perf to fix it.
PR testsuite/124849
* lib/profopt.exp (profopt-execute): Pass --no-pager to perf.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
set bprefix "afdo."
set compiler [lindex $GCC_UNDER_TEST 0]
set autofdo_version [string trim [lindex [remote_exec target "$compiler --print-autofdo-gcov-version"] 1] ]
- set profiler_check [string trim [lindex [remote_exec target "perf list | grep arm_spe"] 1]]
+ set profiler_check [string trim [lindex [remote_exec target "perf --no-pager list | grep arm_spe"] 1]]
if {$profiler_check ne ""} {
set profiler "perf_spe"
} else {