xref: /linux/tools/perf/tests/shell/attr/test-record-user-regs-no-sve-aarch64 (revision c771600c6af14749609b49565ffb4cac2959710d)
1*8296aa0fSIan Rogers# Test that asking for VG fails if the system doesn't support SVE. This
2*8296aa0fSIan Rogers# applies both before and after the feature was added in 6.1
3*8296aa0fSIan Rogers[config]
4*8296aa0fSIan Rogerscommand = record
5*8296aa0fSIan Rogersargs    = --no-bpf-event --user-regs=vg kill >/dev/null 2>&1
6*8296aa0fSIan Rogersret     = 129
7*8296aa0fSIan Rogerstest_ret = true
8*8296aa0fSIan Rogersarch    = aarch64
9*8296aa0fSIan Rogersauxv    = auxv["AT_HWCAP"] & 0x400000 == 0
10