xref: /openbmc/linux/tools/perf/tests/attr/test-record-user-regs-no-sve-aarch64 (revision dbe156207532d7fe1581765d5a47198e1c6119a3)
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"] & 0x400000 == 0
10