On Wed, Jul 13, 2022 at 7:16 PM Pu Lehui <pulehui@xxxxxxxxxx> wrote: > > Currently, samples/bpf, tools/runqslower and bpf/iterators use bpftool > for vmlinux.h, skeleton, and static linking only. We can uselightweight > bootstrap version of bpftool to handle these, and it will be faster. > > v2: > - make libbpf and bootstrap bpftool independent. and make it simple. > Quentin, does this patch set look good to you? > v1: https://lore.kernel.org/bpf/20220712030813.865410-1-pulehui@xxxxxxxxxx > > Pu Lehui (3): > samples: bpf: Fix cross-compiling error by using bootstrap bpftool > tools: runqslower: build and use lightweight bootstrap version of > bpftool > bpf: iterators: build and use lightweight bootstrap version of bpftool > > kernel/bpf/preload/iterators/Makefile | 10 +++------- > samples/bpf/Makefile | 10 ++++------ > tools/bpf/runqslower/Makefile | 7 +++---- > 3 files changed, 10 insertions(+), 17 deletions(-) > > -- > 2.25.1 >