aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaschalis Mpeis <paschalis.mpeis@arm.com>2025-10-08 17:24:08 +0100
committerGitHub <noreply@github.com>2025-10-08 17:24:08 +0100
commit0d6c5e088a777837215c22bac45f1df49604aec2 (patch)
tree3cac1d0e4400e4b8e98028ef8547f36971c8e970
parent91f4db77b07368b47d32eb4d384fda2b2e5c9617 (diff)
downloadllvm-0d6c5e088a777837215c22bac45f1df49604aec2.zip
llvm-0d6c5e088a777837215c22bac45f1df49604aec2.tar.gz
llvm-0d6c5e088a777837215c22bac45f1df49604aec2.tar.bz2
[BOLT][AArch64] Fix perf2bolt-spe test (#162312)
Lit recently started failing on some machines when using a subshell. The test used a subshell to handle kernels where SPE's brstack option is unavailable (<6.14), but it appears to work without it now. Tested with perf 6.8 and 6.17.
-rw-r--r--bolt/test/perf2bolt/AArch64/perf2bolt-spe.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/bolt/test/perf2bolt/AArch64/perf2bolt-spe.test b/bolt/test/perf2bolt/AArch64/perf2bolt-spe.test
index 91f5c85..1f44f75 100644
--- a/bolt/test/perf2bolt/AArch64/perf2bolt-spe.test
+++ b/bolt/test/perf2bolt/AArch64/perf2bolt-spe.test
@@ -6,7 +6,6 @@ RUN: %clang %cflags %p/../../Inputs/asm_foo.s %p/../../Inputs/asm_main.c -o %t.e
RUN: perf record -e cycles -q -o %t.perf.data -- %t.exe 2> /dev/null
-RUN: (perf2bolt -p %t.perf.data -o %t.perf.boltdata --spe %t.exe 2> /dev/null; exit 0) | FileCheck %s --check-prefix=CHECK-SPE-LBR
+RUN: perf2bolt -p %t.perf.data -o %t.perf.boltdata --spe %t.exe | FileCheck %s --check-prefix=CHECK-SPE-LBR
CHECK-SPE-LBR: PERF2BOLT: parse SPE branch events in LBR-format
-