diff options
| author | Andrii Nakryiko <[email protected]> | 2020-06-24 04:38:05 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-06-24 14:08:17 +0000 |
| commit | 192b6638eea5d40c99964291671fc0371b858f6e (patch) | |
| tree | aed8438045c9eff287d4c183bd90f0ab59a76af2 /tools/testing/selftests/bpf/progs/test_autoload.c | |
| parent | libbpf: Fix spelling mistake "kallasyms" -> "kallsyms" (diff) | |
| download | kernel-192b6638eea5d40c99964291671fc0371b858f6e.tar.gz kernel-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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions
