]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd05271fd55b2145b8024ae0646fdf85c0fbfbf34
tree840943b56fe236aa15abb55f6f1143c9a28ebe12
parent2d9b134c9f9eebe6fc8f8cd2e4940c926467983b
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