tools/lib/bpf: expose bpf_program__set_type()
authorAlexei Starovoitov <ast@fb.com>
Fri, 31 Mar 2017 04:45:40 +0000 (21:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Apr 2017 19:45:57 +0000 (12:45 -0700)
commitdd26b7f54a08fd1a9fd804b51b9fce8e16628349
treed1bc1b8e946bbbaadd726ac30ef2b01a9c67207d
parent3084887378f5271daedd52cc3372cb8011ad39b6
tools/lib/bpf: expose bpf_program__set_type()

expose bpf_program__set_type() to set program type

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