]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Deprecate forgotten btf__get_map_kv_tids()
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 3 Feb 2022 22:50:17 +0000 (14:50 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 4 Feb 2022 00:07:16 +0000 (01:07 +0100)
commit88046b2d1e1cedae1153a46dd86bc2ab8fe7d4fb
tree8adb60494fc04631f1ce467685e6ed79a09473aa
parent04b60c12affd7eee03c56d46f50f9559d3b0cb6d
libbpf: Deprecate forgotten btf__get_map_kv_tids()

btf__get_map_kv_tids() is in the same group of APIs as
btf_ext__reloc_func_info()/btf_ext__reloc_line_info() which were only
used by BCC. It was missed to be marked as deprecated in [0]. Fixing
that to complete [1].

  [0] https://patchwork.kernel.org/project/netdevbpf/patch/20220201014610.3522985-1-davemarchevsky@fb.com/
  [1] Closes: https://github.com/libbpf/libbpf/issues/277

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220203225017.1795946-1-andrii@kernel.org
tools/lib/bpf/btf.h
tools/lib/bpf/libbpf.c