diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2020-11-05 07:34:01 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-11-06 05:37:31 +0300 |
commit | 75fa1777694c245c1e59ac774cb1d58a15ecefeb (patch) | |
tree | e963ce371e93ab69cf3d88277a18cbe504d31e59 /tools/bpf/bpftool/main.h | |
parent | 232338fa2fb47726ab7c459419115a6ab6bfb3e3 (diff) | |
download | linux-75fa1777694c245c1e59ac774cb1d58a15ecefeb.tar.xz |
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
Diffstat (limited to 'tools/bpf/bpftool/main.h')
-rw-r--r-- | tools/bpf/bpftool/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/bpf/bpftool/main.h b/tools/bpf/bpftool/main.h index c46e52137b87..76e91641262b 100644 --- a/tools/bpf/bpftool/main.h +++ b/tools/bpf/bpftool/main.h @@ -90,6 +90,7 @@ extern bool show_pids; extern bool block_mount; extern bool verifier_logs; extern bool relaxed_maps; +extern struct btf *base_btf; extern struct pinned_obj_table prog_table; extern struct pinned_obj_table map_table; extern struct pinned_obj_table link_table; |