aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2020-07-11 23:53:21 +0200
committerAlexei Starovoitov <[email protected]>2020-07-13 10:42:02 -0700
commitfbbb68de80a45ad66b66600bee275485c5073aa7 (patch)
treee18521a9caf782322baba389d26d67617043d41f /tools/testing/selftests/bpf/prog_tests/autoload.c
parenteef8a42d6ce087d1c81c960ae0d14f955b742feb (diff)
bpf: Add resolve_btfids tool to resolve BTF IDs in ELF object
The resolve_btfids tool scans elf object for .BTF_ids section and resolves its symbols with BTF ID values. It will be used to during linking time to resolve arrays of BTF ID values used in verifier, so these IDs do not need to be resolved in runtime. The expected layout of .BTF_ids section is described in main.c header. Related kernel changes are coming in following changes. Build issue reported by 0-DAY CI Kernel Test Service. Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions