From: Daniel Borkmann Date: Mon, 3 Aug 2020 14:39:48 +0000 (+0200) Subject: Merge branch 'bpf-libbpf-btf-parsing' X-Git-Tag: v5.9-rc1~133^2~23^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cfa3eb65a7d6da5664d4c9275fbb568a2446d6d9;p=thirdparty%2Flinux.git 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 --- cfa3eb65a7d6da5664d4c9275fbb568a2446d6d9