diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2021-10-20 18:44:04 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-10-21 17:10:11 -0700 |
commit | 4f2511e1990985103929ab799fb3ebca81969b77 (patch) | |
tree | 788f588b995b81fe8bcc9c639fefc8b6f866a379 /tools/testing/selftests/bpf/prog_tests/pkt_access.c | |
parent | 26071635ac5ecd8276bf3bdfc3ea1128c93ac722 (diff) | |
download | linux-4f2511e1990985103929ab799fb3ebca81969b77.tar.gz linux-4f2511e1990985103929ab799fb3ebca81969b77.tar.bz2 linux-4f2511e1990985103929ab799fb3ebca81969b77.zip |
selftests/bpf: Switch to ".bss"/".rodata"/".data" lookups for internal maps
Utilize libbpf's feature of allowing to lookup internal maps by their
ELF section names. No need to guess or calculate the exact truncated
prefix taken from the object 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-11-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/pkt_access.c')
0 files changed, 0 insertions, 0 deletions