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)
commit063fa26aab7d4b987b2c797d12dc457a475011e5
tree7db88f835f95f7935c9a84558dc556a68312ca00
parent8d6fabf1654a8c26e4e081d0b934285d6d8868cb
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