commit | 2b7d88c2b582c659a6567e851d96873d0209a501 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Wed Oct 07 17:10:23 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Oct 07 18:50:27 2020 -0700 |
tree | ca5d85b74792a71d3e62010975edf895d1247daa | |
parent | a66345bcbdf0c5070479c26103f7cb33da9e4969 [diff] |
libbpf: Allow specifying both ELF and raw BTF for CO-RE BTF override Use generalized BTF parsing logic, making it possible to parse BTF both from ELF file, as well as a raw BTF dump. This makes it easier to write custom tests with manually generated BTFs. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20201008001025.292064-4-andrii@kernel.org