## Check that Arm SPE mode is available on AArch64. REQUIRES: system-linux,perf,target=aarch64{{.*}} RUN: %clang %cflags %p/../../Inputs/asm_foo.s %p/../../Inputs/asm_main.c -o %t.exe 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 | FileCheck %s --check-prefix=CHECK-SPE-BRSTACK CHECK-SPE-BRSTACK: PERF2BOLT: parse SPE branch events in brstack-format