summaryrefslogtreecommitdiff
path: root/tools/perf/tests/attr/test-record-user-regs-no-sve-aarch64
blob: fbb065842880f3461bdb91571fc371a3ca10fa7d (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"] & 0x200000 == 0