OSDN Git Service

libbpf: Mark bpf_object__open_xattr() deprecated
authorChristy Lee <christylee@fb.com>
Tue, 25 Jan 2022 01:09:17 +0000 (17:09 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 25 Jan 2022 04:54:31 +0000 (20:54 -0800)
commitfc76387003d6907e298fd6b87f13847c4edddab1
tree2e3780bae8b952dd5da170cd08b4d070cbeb3ed2
parentbfc0a2e94efc111de350ec786e684d9ce41d5a22
libbpf: Mark bpf_object__open_xattr() deprecated

Mark bpf_object__open_xattr() as deprecated, use
bpf_object__open_file() instead.

  [0] Closes: https://github.com/libbpf/libbpf/issues/287

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