commit | 192b6638eea5d40c99964291671fc0371b858f6e | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Tue Jun 23 21:38:05 2020 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Jun 24 16:08:17 2020 +0200 |
tree | aed8438045c9eff287d4c183bd90f0ab59a76af2 | |
parent | 135c783f4794fbdeace4a969dea6eabd27f8a501 [diff] |
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