libbpf: Mark bpf_object__open_buffer() API deprecated
authorChristy Lee <christylee@fb.com>
Tue, 25 Jan 2022 00:59:22 +0000 (16:59 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 25 Jan 2022 04:44:00 +0000 (20:44 -0800)
commit9f45f70ab21eb2d3f4fcb41e4785abe380d406c5
treecc10be376a2e44fe1d4489749b2896eedbc63e9b
parentc45c79e546664c6e404f47772ebba28ea90262d0
libbpf: Mark bpf_object__open_buffer() API deprecated

Deprecate bpf_object__open_buffer() API in favor of the unified
opts-based bpf_object__open_mem() API.

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