Merge branch 'libbpf 1.0: deprecate bpf_map__def() API'
authorAndrii Nakryiko <andrii@kernel.org>
Mon, 10 Jan 2022 02:07:50 +0000 (18:07 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 13 Jan 2022 01:01:39 +0000 (17:01 -0800)
commit86c7ecad3bf83f6a03057b41b353a44b3a4c1f21
tree7db88f835f95f7935c9a84558dc556a68312ca00
parent0991f6a38f576aa9a5e34713e23c998a3310d4d0
parent063fa26aab7d4b987b2c797d12dc457a475011e5
Merge branch 'libbpf 1.0: deprecate bpf_map__def() API'

Christy Lee says:

====================

bpf_map__def() is rarely used and non-extensible. bpf_map_def fields
can be accessed with appropriate map getters and setters instead.
Deprecate bpf_map__def() API and replace use cases with getters and
setters.

Changelog:
----------
v1 -> v2:
https://lore.kernel.org/all/20220105230057.853163-1-christylee@fb.com/

* Fixed commit messages to match commit titles
* Fixed indentation
* Removed bpf_map__def() usage that was missed in v1
====================

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>