selftests/bpf: Revert CO-RE removal in test_ksyms_weak.
authorAlexei Starovoitov <ast@kernel.org>
Wed, 1 Dec 2021 18:10:39 +0000 (10:10 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 2 Dec 2021 19:18:36 +0000 (11:18 -0800)
commit3268f0316af629474ec4fa8d9b4e6f618cb96794
treef973f26fa00b85fb035e42c97927b74ab1a48e8c
parent26b367e3663931f2fee5f0786a1eff712e67b0bf
selftests/bpf: Revert CO-RE removal in test_ksyms_weak.

The commit 087cba799ced ("selftests/bpf: Add weak/typeless ksym test for light skeleton")
added test_ksyms_weak to light skeleton testing, but remove CO-RE access.
Revert that part of commit, since light skeleton can use CO-RE in the kernel.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211201181040.23337-17-alexei.starovoitov@gmail.com
tools/testing/selftests/bpf/progs/test_ksyms_weak.c