mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-30 13:19:06 +08:00
bpf: Extend libbpf with bpf_map_lookup_and_delete_elem_flags
Add bpf_map_lookup_and_delete_elem_flags() libbpf API in order to use the BPF_F_LOCK flag with the map_lookup_and_delete_elem() function. Signed-off-by: Denis Salopek <denis.salopek@sartura.hr> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/15b05dafe46c7e0750d110f233977372029d1f62.1620763117.git.denis.salopek@sartura.hr
This commit is contained in:
committed by
Andrii Nakryiko
parent
c3c2e52201
commit
234dea015b
@@ -361,6 +361,7 @@ LIBBPF_0.4.0 {
|
||||
bpf_linker__new;
|
||||
bpf_map__initial_value;
|
||||
bpf_map__inner_map;
|
||||
bpf_map_lookup_and_delete_elem_flags;
|
||||
bpf_object__gen_loader;
|
||||
bpf_object__set_kversion;
|
||||
bpf_tc_attach;
|
||||
|
||||
Reference in New Issue
Block a user