From: H.J. Lu Date: Sat, 11 Apr 2026 05:58:13 +0000 (+0800) Subject: Correct aarch64: AutoFDO: Add support for ARM SPE to autoprofiledbootstrap X-Git-Tag: basepoints/gcc-17~236 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0d97fa4e447ec8ff8dc10f48a31b3c148bec758;p=thirdparty%2Fgcc.git Correct aarch64: AutoFDO: Add support for ARM SPE to autoprofiledbootstrap 5df258ae1ad01fc75705a35296a29fd359121845 commit 5df258ae1ad01fc75705a35296a29fd359121845 (HEAD) Author: Dhruv Chawla 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 --- diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp index 7a03b38692c..370b45436fb 100644 --- a/gcc/testsuite/lib/profopt.exp +++ b/gcc/testsuite/lib/profopt.exp @@ -456,7 +456,7 @@ proc profopt-execute { src } { 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 {