xref: /linux/tools/perf/tests/shell/attr/test-record-user-regs-sve-aarch64 (revision c771600c6af14749609b49565ffb4cac2959710d)
1*8296aa0fSIan Rogers# Test that asking for VG works if the system has SVE and after the
2*8296aa0fSIan Rogers# 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     = 1
7*8296aa0fSIan Rogerstest_ret = true
8*8296aa0fSIan Rogersarch    = aarch64
9*8296aa0fSIan Rogersauxv    = auxv["AT_HWCAP"] & 0x400000 == 0x400000
10*8296aa0fSIan Rogerskernel_since = 6.1
11*8296aa0fSIan Rogers
12*8296aa0fSIan Rogers[event:base-record]
13*8296aa0fSIan Rogerssample_type=4359
14*8296aa0fSIan Rogerssample_regs_user=70368744177664
15