]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Deprecate bpf_map__def() API
authorChristy Lee <christylee@fb.com>
Sat, 8 Jan 2022 00:42:18 +0000 (16:42 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 13 Jan 2022 01:01:39 +0000 (17:01 -0800)
commit9fc717eaa049dff03f8646c0eeae834a7b110762
tree7db88f835f95f7935c9a84558dc556a68312ca00
parenta4a32112b3c388a020b8ed1974e45654efc38f63
libbpf: Deprecate bpf_map__def() API

All fields accessed via bpf_map_def can now be accessed via
appropirate getters and setters. Mark bpf_map__def() API as deprecated.

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