libbpf: Remove BPF_EMBED_OBJ macro from libbpf.h
authorAndrii Nakryiko <andriin@fb.com>
Wed, 18 Dec 2019 05:25:51 +0000 (21:25 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 18 Dec 2019 06:16:36 +0000 (22:16 -0800)
commit3bf3c79b772f4155312c000310abab700aba2200
treedbac66d5f1291814f9093b7b9d71867e1ce4108c
parent5dc7a8b2114479fd945956ece9875f747a996a8e
libbpf: Remove BPF_EMBED_OBJ macro from libbpf.h

Drop BPF_EMBED_OBJ and struct bpf_embed_data now that skeleton automatically
embeds contents of its source object file. While BPF_EMBED_OBJ is useful
independently of skeleton, we are currently don't have any use cases utilizing
it, so let's remove them until/if we need it.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20191218052552.2915188-3-andriin@fb.com
tools/lib/bpf/libbpf.h