]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Skip all serial_test_get_branch_snapshot in vm
authorSong Liu <songliubraving@fb.com>
Tue, 26 Oct 2021 00:07:33 +0000 (17:07 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 26 Oct 2021 03:41:00 +0000 (20:41 -0700)
commit2c39cbbea91d1901211d98fd1b372932571f916d
tree92af83783b337e5c8f50f49183f0d66f0f1a3bc9
parente21f2e795ea5731b6ba48c50800cedbca5e0ec91
selftests/bpf: Skip all serial_test_get_branch_snapshot in vm

Skipping the second half of the test is not enough to silent the warning
in dmesg. Skip the whole test before we can either properly silent the
warning in kernel, or fix LBR snapshot for VM.

Fixes: 47b7406a68ed ("selftests/bpf: Add test for bpf_get_branch_snapshot")
Fixes: a9d5ec5f52d1 ("selftests/bpf: Skip the second half of get_branch_snapshot in vm")
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211026000733.477714-1-songliubraving@fb.com
tools/testing/selftests/bpf/prog_tests/get_branch_snapshot.c