libbpf: add support for BPF_PROG_QUERY
authorAlexei Starovoitov <ast@fb.com>
Tue, 3 Oct 2017 05:50:27 +0000 (22:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Oct 2017 23:05:05 +0000 (16:05 -0700)
commit5d0cbf9b6c11964bf2f4041a5b0b6f81cb169736
tree88888ccb66f2d05cba46fc8a7d2ce18aa18a722d
parentdefd9c476fa6b01b4eb5450452bfd202138decb7
libbpf: add support for BPF_PROG_QUERY

add support for BPF_PROG_QUERY command to libbpf

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h