bpf: iterators: Build and use lightweight bootstrap version of bpftool
authorPu Lehui <pulehui@huawei.com>
Thu, 14 Jul 2022 02:46:12 +0000 (10:46 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 15 Jul 2022 19:01:30 +0000 (12:01 -0700)
commit3848636b4a88f0706f9ce48d532163244abadd43
tree840943b56fe236aa15abb55f6f1143c9a28ebe12
parent3a2a58c4479a6acd4421db41e1e1ffd804763a5a
bpf: iterators: Build and use lightweight bootstrap version of bpftool

kernel/bpf/preload/iterators use bpftool for vmlinux.h, skeleton, and
static linking only. So we can use lightweight bootstrap version of
bpftool to handle these, and it will be faster.

Suggested-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220714024612.944071-4-pulehui@huawei.com
kernel/bpf/preload/iterators/Makefile