diff options
author | 2021-05-11 23:00:05 +0200 | |
---|---|---|
committer | 2021-05-24 13:30:51 -0700 | |
commit | d59b9f2d1b2211e948044a099fd0a65941d06570 (patch) | |
tree | 7a44f17e05374ab7176b6169236c49e90b7b9609 /tools/testing/selftests/bpf/prog_tests/stacktrace_map.c | |
parent | bpf: Add lookup_and_delete_elem support to hashtab (diff) | |
download | wireguard-linux-d59b9f2d1b2211e948044a099fd0a65941d06570.tar.xz wireguard-linux-d59b9f2d1b2211e948044a099fd0a65941d06570.zip |
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
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map.c')
0 files changed, 0 insertions, 0 deletions