summaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/common.c
diff options
context:
space:
mode:
authorHechao Li2019-06-11 02:56:51 +0200
committerDaniel Borkmann2019-06-11 10:36:02 +0200
commitebb886078bae29bd60eba3157dc6edae4bbed3a1 (patch)
tree7dc9a087d2652f61cc20df32a9e9c26d2ee1ab94 /tools/bpf/bpftool/common.c
parentbpf: add a new API libbpf_num_possible_cpus() (diff)
downloadkernel-qcow2-linux-ebb886078bae29bd60eba3157dc6edae4bbed3a1.tar.gz
kernel-qcow2-linux-ebb886078bae29bd60eba3157dc6edae4bbed3a1.tar.xz
kernel-qcow2-linux-ebb886078bae29bd60eba3157dc6edae4bbed3a1.zip
selftests/bpf: remove bpf_util.h from BPF C progs
Though currently there is no problem including bpf_util.h in kernel space BPF C programs, in next patch in this stack, I will reuse libbpf_num_possible_cpus() in bpf_util.h thus include libbpf.h in it, which will cause BPF C programs compile error. Therefore I will first remove bpf_util.h from all test BPF programs. This can also make it clear that bpf_util.h is a user-space utility while bpf_helpers.h is a kernel space utility. Signed-off-by: Hechao Li <hechaol@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf/bpftool/common.c')
0 files changed, 0 insertions, 0 deletions