12 lines · plain
1## Check that Arm SPE mode is available on AArch64.2 3REQUIRES: system-linux,perf,target=aarch64{{.*}}4 5RUN: %clang %cflags %p/../../Inputs/asm_foo.s %p/../../Inputs/asm_main.c -o %t.exe6 7RUN: perf record -e cycles -q -o %t.perf.data -- %t.exe 2> /dev/null8 9RUN: perf2bolt -p %t.perf.data -o %t.perf.boltdata --spe %t.exe | FileCheck %s --check-prefix=CHECK-SPE-BRSTACK10 11CHECK-SPE-BRSTACK: PERF2BOLT: parse SPE branch events in brstack-format12