aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/bpf_util.h
diff options
context:
space:
mode:
authorHechao Li <hechaol@fb.com>2019-06-10 17:56:51 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-06-11 10:36:02 +0200
commitebb886078bae29bd60eba3157dc6edae4bbed3a1 (patch)
tree7dc9a087d2652f61cc20df32a9e9c26d2ee1ab94 /tools/testing/selftests/bpf/bpf_util.h
parentbpf: add a new API libbpf_num_possible_cpus() (diff)
downloadlinux-dev-ebb886078bae29bd60eba3157dc6edae4bbed3a1.tar.xz
linux-dev-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/testing/selftests/bpf/bpf_util.h')
0 files changed, 0 insertions, 0 deletions