diff options
author | Andrii Nakryiko | 2021-04-08 09:13:08 +0300 |
---|---|---|
committer | Andrii Nakryiko | 2021-04-08 23:54:48 -0700 |
commit | b3278099b2f6e81771c6c2b70fcf9a56e9ba5d93 (patch) | |
tree | 11d71a5a313975d00f2f2e35b74745dd37f1a094 /tools/lib/bpf/libbpf.map | |
parent | 23a65766066bb6e42a44e9097ddf79f72292a19f (diff) |
libbpf: Add bpf_map__inner_map API
The API gives access to inner map for map in map types (array or
hash of map). It will be used to dynamically set max_entries in it.
Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210408061310.95877-7-yauheni.kaliuta@redhat.com
Diffstat (limited to 'tools/lib/bpf/libbpf.map')
-rw-r--r-- | tools/lib/bpf/libbpf.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map index f5990f7208ce..b9b29baf1df8 100644 --- a/tools/lib/bpf/libbpf.map +++ b/tools/lib/bpf/libbpf.map @@ -359,5 +359,6 @@ LIBBPF_0.4.0 { bpf_linker__finalize; bpf_linker__free; bpf_linker__new; + bpf_map__inner_map; bpf_object__set_kversion; } LIBBPF_0.3.0; |