selftests/bpf: Remove the only use of deprecated bpf_object__load_xattr()
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 9 Dec 2021 19:38:39 +0000 (11:38 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 10 Dec 2021 23:29:18 +0000 (15:29 -0800)
commit3fc5fdcca144badbaf29b62aacbf7877f2f39a74
treeb908e0ed713b9cbf8fe827d39d15038b80e0a2c5
parent57e889269af3dd0609933e2550c4baee7a7eb84c
selftests/bpf: Remove the only use of deprecated bpf_object__load_xattr()

Switch from bpf_object__load_xattr() to bpf_object__load() and
kernel_log_level in bpf_object_open_opts.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211209193840.1248570-12-andrii@kernel.org
tools/testing/selftests/bpf/testing_helpers.c