Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbpf-tools: Build and use lightweight bootstrap version of bpftool
We need bpftool for skeleton generation only, let's build and use bootstrap bpftool like libbpf-bootstrap does ([0]). This avoids the following errors on old kernels: skeleton/pid_iter.bpf.c:35:10: error: incomplete definition of type 'struct bpf_link' return BPF_CORE_READ((struct bpf_link *)ent, id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [0]: libbpf/libbpf-bootstrap#92 Signed-off-by: Hengqi Chen <[email protected]>
- Loading branch information