]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf 1.0: Deprecate bpf_object__find_map_by_offset() API
authorChristy Lee <christylee@fb.com>
Wed, 5 Jan 2022 00:31:20 +0000 (16:31 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 6 Jan 2022 00:11:32 +0000 (16:11 -0800)
commite45754a5efd1da1e4a3eb70ec3c4956d79d18d0e
tree6ed45dd60742ea4d9ad5456f65e5d0a6c7eef6fe
parentab2b35899f3c67f317783ab6bd52216eb7af54f8
libbpf 1.0: Deprecate bpf_object__find_map_by_offset() API

API created with simplistic assumptions about BPF map definitions.
It hasn’t worked for a while, deprecate it in preparation for
libbpf 1.0.

  [0] Closes: https://github.com/libbpf/libbpf/issues/302

Signed-off-by: Christy Lee <christylee@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220105003120.2222673-1-christylee@fb.com
tools/lib/bpf/libbpf.h