Re: [PATCH bpf-next] tools/bpf: silence a libbpf unnecessary warning

2019-02-05 Thread Alexei Starovoitov
On Tue, Feb 05, 2019 at 09:38:30PM -0800, Yonghong Song wrote: > Commit 96408c43447a ("tools/bpf: implement libbpf > btf__get_map_kv_tids() API function") refactored > function bpf_map_find_btf_info() and moved bulk of > implementation into btf.c as btf__get_map_kv_tids(). > This change introduced

[PATCH bpf-next] tools/bpf: silence a libbpf unnecessary warning

2019-02-05 Thread Yonghong Song
Commit 96408c43447a ("tools/bpf: implement libbpf btf__get_map_kv_tids() API function") refactored function bpf_map_find_btf_info() and moved bulk of implementation into btf.c as btf__get_map_kv_tids(). This change introduced a bug such that test_btf will print out the following warning although th