libbpf: add map_get_fd_by_id and map_delete_elem in light skeleton
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 24 Aug 2022 13:40:37 +0000 (15:40 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 26 Aug 2022 01:52:29 +0000 (18:52 -0700)
commit343949e10798a52c6d6a14effc962e010ed471ae
tree5c14bcefbdad7772bd17ed5f8b795d5fd8bc658c
parentb88df6979682333815536a0bf43bd56f9499f071
libbpf: add map_get_fd_by_id and map_delete_elem in light skeleton

This allows to have a better control over maps from the kernel when
preloading eBPF programs.

Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20220824134055.1328882-8-benjamin.tissoires@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/skel_internal.h