aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/common.c
diff options
context:
space:
mode:
authorHechao Li <[email protected]>2019-06-11 00:56:51 +0000
committerDaniel Borkmann <[email protected]>2019-06-11 08:36:02 +0000
commitebb886078bae29bd60eba3157dc6edae4bbed3a1 (patch)
tree7dc9a087d2652f61cc20df32a9e9c26d2ee1ab94 /tools/bpf/bpftool/common.c
parentbpf: add a new API libbpf_num_possible_cpus() (diff)
downloadkernel-ebb886078bae29bd60eba3157dc6edae4bbed3a1.tar.gz
kernel-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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/common.c')
0 files changed, 0 insertions, 0 deletions