diff options
author | 2023-11-25 20:31:25 +0100 | |
---|---|---|
committer | 2023-11-28 21:50:09 -0800 | |
commit | 48f0dfd8d3e212ab27b6db147ed10407ff6aaa88 (patch) | |
tree | 346ef8da903564feb9d80aba778b6a8684ea69cf /lib/test_bpf.c | |
parent | selftests/bpf: update test_offload to use new orphaned property (diff) | |
download | wireguard-linux-48f0dfd8d3e212ab27b6db147ed10407ff6aaa88.tar.xz wireguard-linux-48f0dfd8d3e212ab27b6db147ed10407ff6aaa88.zip |
libbpf: Add st_type argument to elf_resolve_syms_offsets function
We need to get offsets for static variables in following changes,
so making elf_resolve_syms_offsets to take st_type value as argument
and passing it to elf_sym_iter_new.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/bpf/20231125193130.834322-2-jolsa@kernel.org
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions