19440ebdcSJames Clark# Test that asking for VG works if the system has SVE and after the
29440ebdcSJames Clark# feature was added in 6.1
39440ebdcSJames Clark[config]
49440ebdcSJames Clarkcommand = record
59440ebdcSJames Clarkargs    = --no-bpf-event --user-regs=vg kill >/dev/null 2>&1
69440ebdcSJames Clarkret     = 1
79440ebdcSJames Clarktest_ret = true
89440ebdcSJames Clarkarch    = aarch64
9*c7e8c0e6SVeronika Molnarovaauxv    = auxv["AT_HWCAP"] & 0x400000 == 0x400000
109440ebdcSJames Clarkkernel_since = 6.1
119440ebdcSJames Clark
129440ebdcSJames Clark[event:base-record]
139440ebdcSJames Clarksample_type=4359
149440ebdcSJames Clarksample_regs_user=70368744177664
15