]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05994316cf11fd0ccf9c61f8a39566cd2d6435bc
tree5c14bcefbdad7772bd17ed5f8b795d5fd8bc658c
parent452a37b42c36b89f9841076693b749834d4063b9
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