aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-10-20 18:43:59 -0700
committerAlexei Starovoitov <ast@kernel.org>2021-10-21 17:10:10 -0700
commit8654b4d35e6c915ef456c14320ec8720383e81a7 (patch)
treea38a3bd3f4874b0d9face7d4fa2689de8b4a04f4 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parent25bbbd7a444b1624000389830d46ffdc5b809ee8 (diff)
bpftool: Support multiple .rodata/.data internal maps in skeleton
Remove the assumption about only single instance of each of .rodata and .data internal maps. Nothing changes for '.rodata' and '.data' maps, but new '.rodata.something' map will get 'rodata_something' section in BPF skeleton for them (as well as having struct bpf_map * field in maps section with the same field name). Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20211021014404.2635234-6-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions