summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/ksyms.c
AgeCommit message (Collapse)AuthorFilesLines
2020-06-23selftests/bpf: Add __ksym extern selftestAndrii Nakryiko1-0/+71
Validate libbpf is able to handle weak and strong kernel symbol externs in BPF code correctly. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Reviewed-by: Hao Luo <haoluo@google.com> Link: https://lore.kernel.org/bpf/20200619231703.738941-4-andriin@fb.com