summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2022-10-18 17:28:14 -0700
committerAlexei Starovoitov <ast@kernel.org>2022-10-19 16:40:45 -0700
commitf33f742d567449bad965bf60c0d65f861c1d7101 (patch)
tree520d710e4514390ead28756be08401890b1d456c /CREDITS
parent81bfcc3fcd2f99578eebc2f64248253b57fc5c76 (diff)
libbpf: clean up and refactor BTF fixup step
Refactor libbpf's BTF fixup step during BPF object open phase. The only functional change is that we now ignore BTF_VAR_GLOBAL_EXTERN variables during fix up, not just BTF_VAR_STATIC ones, which shouldn't cause any change in behavior as there shouldn't be any extern variable in data sections for valid BPF object anyways. Otherwise it's just collapsing two functions that have no reason to be separate, and switching find_elf_var_offset() helper to return entire symbol pointer, not just its offset. This will be used by next patch to get ELF symbol visibility. While refactoring, also "normalize" debug messages inside btf_fixup_datasec() to follow general libbpf style and print out data section name consistently, where it's available. Acked-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20221019002816.359650-2-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions