]> git.baikalelectronics.ru Git - kernel.git/commit
samples: bpf: rename libbpf.h to bpf_insn.h
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 15 May 2018 05:35:03 +0000 (22:35 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 15 May 2018 05:52:10 +0000 (22:52 -0700)
commit48584672b198c35ed93aa7fcbfcc7ba6911c3bf8
tree96f4a0e5f3827ff3d849bb5047cd6aae1bdceab6
parent644fcf38ebe895fbdf8f8c6c7db7492a0859806c
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>
samples/bpf/bpf_insn.h [new file with mode: 0644]
samples/bpf/cookie_uid_helper_example.c
samples/bpf/fds_example.c
samples/bpf/libbpf.h [deleted file]
samples/bpf/sock_example.c
samples/bpf/test_cgrp2_attach.c
samples/bpf/test_cgrp2_attach2.c
samples/bpf/test_cgrp2_sock.c
samples/bpf/test_cgrp2_sock2.c