diff options
author | 2024-10-02 14:25:07 +0800 | |
---|---|---|
committer | 2024-10-07 20:28:53 -0700 | |
commit | 3c591de2854381e313ec149bc1bbd8360f9ed53b (patch) | |
tree | c28120e0e644495f7e481267a12db2132fa0f8b7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | libbpf: Do not resolve size on duplicate FUNCs (diff) | |
download | wireguard-linux-3c591de2854381e313ec149bc1bbd8360f9ed53b.tar.xz wireguard-linux-3c591de2854381e313ec149bc1bbd8360f9ed53b.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions