xref: /openbmc/linux/tools/perf/tests/attr/test-record-user-regs-no-sve-aarch64 (revision e65e175b07bef5974045cc42238de99057669ca7)
1# Test that asking for VG fails if the system doesn't support SVE. This
2# applies both before and after the feature was added in 6.1
3[config]
4command = record
5args    = --no-bpf-event --user-regs=vg kill >/dev/null 2>&1
6ret     = 129
7test_ret = true
8arch    = aarch64
9auxv    = auxv["AT_HWCAP"] & 0x200000 == 0
10