commit | a83d6e76a67424ebbbbed643f51e97934ffc2bc2 | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Mon Nov 12 15:44:53 2018 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Nov 16 17:46:54 2018 -0800 |
tree | c9905473ea6cece22d0201c4971b044c575937da | |
parent | 5c86d2125b58949122e03f04ce940e6f5b8534ba [diff] |
bpf: libbpf: Fix bpf_program__next() API This patch restores the behavior in commit eac7d84519a3 ("tools: libbpf: don't return '.text' as a program for multi-function programs") such that bpf_program__next() does not return pseudo programs in ".text". Fixes: 0c19a9fbc9cd ("libbpf: cleanup after partial failure in bpf_object__pin") Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>