diff options
author | 2021-04-23 11:13:45 -0700 | |
---|---|---|
committer | 2021-04-23 14:05:27 -0700 | |
commit | f2644fb44de9abd54e57b55f584c7c67526f7c02 (patch) | |
tree | 1567fc448eb051723471dea24054880933689bf0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: Omit skeleton generation for multi-linked BPF object files (diff) | |
download | wireguard-linux-f2644fb44de9abd54e57b55f584c7c67526f7c02.tar.xz wireguard-linux-f2644fb44de9abd54e57b55f584c7c67526f7c02.zip |
selftests/bpf: Add function linking selftest
Add selftest validating various aspects of statically linking functions:
- no conflicts and correct resolution for name-conflicting static funcs;
- correct resolution of extern functions;
- correct handling of weak functions, both resolution itself and libbpf's
handling of unused weak function that "lost" (it leaves gaps in code with
no ELF symbols);
- correct handling of hidden visibility to turn global function into
"static" for the purpose of BPF verification.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210423181348.1801389-16-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions