selftests/bpf: Replace all uses of bpf_load_btf() with bpf_btf_load()
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 9 Dec 2021 19:38:37 +0000 (11:38 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 10 Dec 2021 23:29:18 +0000 (15:29 -0800)
commitdc94121b5ca17adaaabb7959c10d9c6ea504f7b1
tree1f2b491be6269223253a58abda09387a07c92a6a
parente7b924ca715f0d1c0be62b205c36c4076b335421
selftests/bpf: Replace all uses of bpf_load_btf() with bpf_btf_load()

Switch all selftests uses of to-be-deprecated bpf_load_btf() with
equivalent bpf_btf_load() calls.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211209193840.1248570-10-andrii@kernel.org
tools/testing/selftests/bpf/map_tests/sk_storage_map.c
tools/testing/selftests/bpf/prog_tests/btf.c
tools/testing/selftests/bpf/test_verifier.c