diff options
| author | Eric Long <i@hack3r.moe> | 2024-10-02 09:25:07 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2024-10-08 06:28:53 +0300 |
| commit | 3c591de2854381e313ec149bc1bbd8360f9ed53b (patch) | |
| tree | c28120e0e644495f7e481267a12db2132fa0f8b7 /tools/perf/scripts/python | |
| parent | 4b146e95da87bf0fe64502aaafebeb622dfff653 (diff) | |
| download | linux-3c591de2854381e313ec149bc1bbd8360f9ed53b.tar.xz | |
selftests/bpf: Test linking with duplicate extern functions
Previously when multiple BPF object files referencing the same extern
function (usually kfunc) are statically linked using `bpftool gen
object`, libbpf tries to get the nonexistent size of BTF_KIND_FUNC_PROTO
and fails. This test ensures it is fixed.
Signed-off-by: Eric Long <i@hack3r.moe>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241002-libbpf-dup-extern-funcs-v4-2-560eb460ff90@hack3r.moe
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
