xref: /linux/tools/perf/tests/shell/attr/test-record-user-regs-no-sve-aarch64 (revision 7f71507851fc7764b36a3221839607d3a45c2025)
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