samples: bpf: rename libbpf.h to bpf_insn.h
The libbpf.h file in samples is clashing with libbpf's header. Since it only includes a subset of filter.h instruction helpers rename it to bpf_insn.h. Drop the unnecessary include of bpf/bpf.h. 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>
Showing
- samples/bpf/bpf_insn.h 3 additions, 5 deletionssamples/bpf/bpf_insn.h
- samples/bpf/cookie_uid_helper_example.c 1 addition, 1 deletionsamples/bpf/cookie_uid_helper_example.c
- samples/bpf/fds_example.c 3 additions, 1 deletionsamples/bpf/fds_example.c
- samples/bpf/sock_example.c 2 additions, 1 deletionsamples/bpf/sock_example.c
- samples/bpf/test_cgrp2_attach.c 2 additions, 1 deletionsamples/bpf/test_cgrp2_attach.c
- samples/bpf/test_cgrp2_attach2.c 2 additions, 1 deletionsamples/bpf/test_cgrp2_attach2.c
- samples/bpf/test_cgrp2_sock.c 2 additions, 1 deletionsamples/bpf/test_cgrp2_sock.c
- samples/bpf/test_cgrp2_sock2.c 2 additions, 1 deletionsamples/bpf/test_cgrp2_sock2.c
Loading
Please register or sign in to comment