]> 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)
commitf46f8aec87e430431c55777ebcc5e1448b3cca4c
tree7db88f835f95f7935c9a84558dc556a68312ca00
parent101a374168c823e4a92db872a97da4db332ffe07
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