summaryrefslogtreecommitdiff
path: root/samples/bpf/test_cgrp2_sock2.c
diff options
context:
space:
mode:
authorPu Lehui <pulehui@huawei.com>2022-07-14 05:46:10 +0300
committerAndrii Nakryiko <andrii@kernel.org>2022-07-15 22:01:30 +0300
commit2e4966288c1651c22202df80142ed84dbef817b5 (patch)
tree8b3d676720d372bc3f91f7161dd7b9efc550fb50 /samples/bpf/test_cgrp2_sock2.c
parenta2a5580fcbf808e7c2310e4959b62f9d2157fdb6 (diff)
downloadlinux-2e4966288c1651c22202df80142ed84dbef817b5.tar.xz
samples: bpf: Fix cross-compiling error by using bootstrap bpftool
Currently, when cross compiling bpf samples, the host side cannot use arch-specific bpftool to generate vmlinux.h or skeleton. Since samples/bpf use bpftool for vmlinux.h, skeleton, and static linking only, we can use lightweight bootstrap version of bpftool to handle these, and it's always host-native. 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-2-pulehui@huawei.com
Diffstat (limited to 'samples/bpf/test_cgrp2_sock2.c')
0 files changed, 0 insertions, 0 deletions