summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-record-user-regs-no-sve-aarch64
blob: bed765450ca976f8b13dad231eae2e2743840acc (plain)
1
2
3
4
5
6
7
8
9
# Test that asking for VG fails if the system doesn't support SVE. This
# applies both before and after the feature was added in 6.1
[config]
command = record
args    = --no-bpf-event --user-regs=vg kill >/dev/null 2>&1
ret     = 129
test_ret = true
arch    = aarch64
auxv    = auxv["AT_HWCAP"] & 0x400000 == 0