From: Serhei Makarov Date: Mon, 22 Jun 2026 21:38:08 +0000 (-0400) Subject: tests/run-stackprof-system-gprof.sh: add arch gating check X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e058e4c99a110ddb33981d3f33453a8d2e27e603;p=thirdparty%2Felfutils.git tests/run-stackprof-system-gprof.sh: add arch gating check --- diff --git a/tests/run-stackprof-system-gprof.sh b/tests/run-stackprof-system-gprof.sh index 3c19499d..b9dc839f 100755 --- a/tests/run-stackprof-system-gprof.sh +++ b/tests/run-stackprof-system-gprof.sh @@ -31,7 +31,7 @@ tempfiles test.out gmon.* # run systemwide scan, no gprof output testrun timeout -p --kill-after=5 10 ${abs_top_builddir}/src/stackprof -v 2>&1 | tee test.out grep "^perf_event_attr configuration" test.out -grep "Starting stack profile collection systemwide" test.out +grep "Starting stack profile collection systemwide" test.out || (grep "ERROR: Unsupported architecture" test.out && echo "unsupported arch" && exit 77) grep -E "^[0-9]+ " test.out # -- pid / sample counts entries # run systemwide scan again, with gprof output