diff options
author | 2020-06-23 21:38:05 -0700 | |
---|---|---|
committer | 2020-06-24 16:08:17 +0200 | |
commit | 192b6638eea5d40c99964291671fc0371b858f6e (patch) | |
tree | aed8438045c9eff287d4c183bd90f0ab59a76af2 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | libbpf: Fix spelling mistake "kallasyms" -> "kallsyms" (diff) | |
download | wireguard-linux-192b6638eea5d40c99964291671fc0371b858f6e.tar.xz wireguard-linux-192b6638eea5d40c99964291671fc0371b858f6e.zip |
libbpf: Prevent loading vmlinux BTF twice
Prevent loading/parsing vmlinux BTF twice in some cases: for CO-RE relocations
and for BTF-aware hooks (tp_btf, fentry/fexit, etc).
Fixes: a6ed02cac690 ("libbpf: Load btf_vmlinux only once per object.")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200624043805.1794620-1-andriin@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions