]> git.baikalelectronics.ru Git - kernel.git/commit
samples: bpf: refactor header include path
authorDaniel T. Lee <danieltimlee@gmail.com>
Sat, 15 Jun 2019 15:14:47 +0000 (00:14 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 17 Jun 2019 22:28:36 +0000 (00:28 +0200)
commit318f1f7dc4cd173ed32224df2ed389840586f2e4
tree5d10b51c6622828cb26e5daad4d5148b8017fbc0
parent0831f4c067872df375dced221225a52c2972a09c
samples: bpf: refactor header include path

Currently, header inclusion in each file is inconsistent.
For example, "libbpf.h" header is included as multiple ways.

    #include "bpf/libbpf.h"
    #include "libbpf.h"

Due to commit f16021637eca ("samples/bpf: fix include path
in Makefile"), $(srctree)/tools/lib/bpf/ path had been included
during build, path "bpf/" in header isn't necessary anymore.

This commit removes path "bpf/" in header inclusion.

Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
15 files changed:
samples/bpf/fds_example.c
samples/bpf/hbm.c
samples/bpf/ibumad_user.c
samples/bpf/sockex1_user.c
samples/bpf/sockex2_user.c
samples/bpf/xdp1_user.c
samples/bpf/xdp_adjust_tail_user.c
samples/bpf/xdp_fwd_user.c
samples/bpf/xdp_redirect_cpu_user.c
samples/bpf/xdp_redirect_map_user.c
samples/bpf/xdp_redirect_user.c
samples/bpf/xdp_router_ipv4_user.c
samples/bpf/xdp_rxq_info_user.c
samples/bpf/xdp_tx_iptunnel_user.c
samples/bpf/xdpsock_user.c