samples: bpf: include bpf/bpf.h instead of local libbpf.h
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 15 May 2018 05:35:02 +0000 (22:35 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 15 May 2018 05:52:10 +0000 (22:52 -0700)
commit2bf3e2ef425bc2a164f10b554b7db6a8b4090ef4
tree2a78c9c06062bbc0a7ea392357e49085431ab761
parentfb40c9ddd66b9c9bb811bbee125b3cb3ba1faee7
samples: bpf: include bpf/bpf.h instead of local libbpf.h

There are two files in the tree called libbpf.h which is becoming
problematic.  Most samples don't actually need the local libbpf.h
they simply include it to get to bpf/bpf.h.  Include bpf/bpf.h
directly instead.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
35 files changed:
samples/bpf/bpf_load.c
samples/bpf/bpf_load.h
samples/bpf/cpustat_user.c
samples/bpf/lathist_user.c
samples/bpf/load_sock_ops.c
samples/bpf/lwt_len_hist_user.c
samples/bpf/map_perf_test_user.c
samples/bpf/sock_example.h
samples/bpf/sockex1_user.c
samples/bpf/sockex2_user.c
samples/bpf/sockex3_user.c
samples/bpf/syscall_tp_user.c
samples/bpf/tc_l2_redirect_user.c
samples/bpf/test_cgrp2_array_pin.c
samples/bpf/test_current_task_under_cgroup_user.c
samples/bpf/test_lru_dist.c
samples/bpf/test_map_in_map_user.c
samples/bpf/test_overhead_user.c
samples/bpf/test_probe_write_user_user.c
samples/bpf/trace_output_user.c
samples/bpf/tracex1_user.c
samples/bpf/tracex2_user.c
samples/bpf/tracex3_user.c
samples/bpf/tracex4_user.c
samples/bpf/tracex5_user.c
samples/bpf/tracex6_user.c
samples/bpf/tracex7_user.c
samples/bpf/xdp_fwd_user.c
samples/bpf/xdp_monitor_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_tx_iptunnel_user.c
samples/bpf/xdpsock_user.c