aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.map
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2020-01-15 10:43:06 -0800
committerAlexei Starovoitov <ast@kernel.org>2020-01-15 14:00:35 -0800
commit2ab3d86ea1859d1a4b830ce3551cba725620593a (patch)
tree0cd83172075796074ac3c27f58ba14e7c3f0ff7e /tools/lib/bpf/libbpf.map
parenttools/bpf: Sync uapi header bpf.h (diff)
downloadlinux-dev-2ab3d86ea1859d1a4b830ce3551cba725620593a.tar.xz
linux-dev-2ab3d86ea1859d1a4b830ce3551cba725620593a.zip
libbpf: Add libbpf support to batch ops
Added four libbpf API functions to support map batch operations: . int bpf_map_delete_batch( ... ) . int bpf_map_lookup_batch( ... ) . int bpf_map_lookup_and_delete_batch( ... ) . int bpf_map_update_batch( ... ) Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200115184308.162644-8-brianvv@google.com
Diffstat (limited to '')
-rw-r--r--tools/lib/bpf/libbpf.map4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map
index a19f04e6e3d9..1902a0fc6afc 100644
--- a/tools/lib/bpf/libbpf.map
+++ b/tools/lib/bpf/libbpf.map
@@ -214,6 +214,10 @@ LIBBPF_0.0.7 {
btf_dump__emit_type_decl;
bpf_link__disconnect;
bpf_map__attach_struct_ops;
+ bpf_map_delete_batch;
+ bpf_map_lookup_and_delete_batch;
+ bpf_map_lookup_batch;
+ bpf_map_update_batch;
bpf_object__find_program_by_name;
bpf_object__attach_skeleton;
bpf_object__destroy_skeleton;