tools/bpftool: Add bpftool support for split BTF

Add ability to work with split BTF by providing extra -B flag, which allows to
specify the path to the base BTF file.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20201105043402.2530976-12-andrii@kernel.org
This commit is contained in:
Andrii Nakryiko 2020-11-04 20:34:01 -08:00 • committed by Alexei Starovoitov
commit 75fa177769
3 changed files with 21 additions and 4 deletions