Skip to content

Commit 0d6c5e0

Browse files
[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.
1 parent 91f4db7 commit 0d6c5e0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bolt/test/perf2bolt/AArch64/perf2bolt-spe.test

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ RUN: %clang %cflags %p/../../Inputs/asm_foo.s %p/../../Inputs/asm_main.c -o %t.e
66

77
RUN: perf record -e cycles -q -o %t.perf.data -- %t.exe 2> /dev/null
88

9-
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
9+
RUN: perf2bolt -p %t.perf.data -o %t.perf.boltdata --spe %t.exe | FileCheck %s --check-prefix=CHECK-SPE-LBR
1010

1111
CHECK-SPE-LBR: PERF2BOLT: parse SPE branch events in LBR-format
12-

0 commit comments

Comments
 (0)