aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_gen_internal.h
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2021-12-01 18:10:33 +0000
committerAndrii Nakryiko <[email protected]>2021-12-02 19:18:35 +0000
commitbe05c94476f3cf4fdc29feab4ed1053187323296 (patch)
tree31e84f0d56868119c04b4ef7f6e9b345d00e1d26 /tools/lib/bpf/bpf_gen_internal.h
parentlibbpf: Use CO-RE in the kernel in light skeleton. (diff)
downloadkernel-be05c94476f3cf4fdc29feab4ed1053187323296.tar.gz
kernel-be05c94476f3cf4fdc29feab4ed1053187323296.zip
libbpf: Support init of inner maps in light skeleton.
Add ability to initialize inner maps in light skeleton. Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_gen_internal.h')
-rw-r--r--tools/lib/bpf/bpf_gen_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/bpf_gen_internal.h b/tools/lib/bpf/bpf_gen_internal.h
index 9d57fa84664b..9dd5f76692ef 100644
--- a/tools/lib/bpf/bpf_gen_internal.h
+++ b/tools/lib/bpf/bpf_gen_internal.h
@@ -67,5 +67,6 @@ void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum b
void bpf_gen__record_extern(struct bpf_gen *gen, const char *name, bool is_weak,
bool is_typeless, int kind, int insn_idx);
void bpf_gen__record_relo_core(struct bpf_gen *gen, const struct bpf_core_relo *core_relo);
+void bpf_gen__populate_outer_map(struct bpf_gen *gen, int outer_map_idx, int key, int inner_map_idx);
#endif