Merge branch 'bpf-libbpf-btf-parsing'
authorDaniel Borkmann <daniel@iogearbox.net>
Mon, 3 Aug 2020 14:39:48 +0000 (16:39 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 3 Aug 2020 14:39:51 +0000 (16:39 +0200)
commitcfa3eb65a7d6da5664d4c9275fbb568a2446d6d9
tree6a78a898df8a336f40e0be88bc95bf1eaffea155
parent041549b7b2c7811ec40e705c439211f00ade2dda
parentf86ca3cffef153555a3f4755b3a44881d962754f
Merge branch 'bpf-libbpf-btf-parsing'

Andrii Nakryiko says:

====================
It's pretty common for applications to want to parse raw (binary) BTF data
from file, as opposed to parsing it from ELF sections. It's also pretty common
for tools to not care whether given file is ELF or raw BTF format. This patch
series exposes internal raw BTF parsing API and adds generic variant of BTF
parsing, which will efficiently determine the format of a given fail and will
parse BTF appropriately.

Patches #2 and #3 removes re-implementations of such APIs from bpftool and
resolve_btfids tools.
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>