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 <jolsa@kernel.org> Signed-off-by:
Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200711215329.41165-2-jolsa@kernel.org
parent
eef8a42d
-
mentioned in commit d48556f4
-
mentioned in commit 51f6463a
-
mentioned in commit 7f3bdbc3
-
mentioned in commit 2324f5fc
-
mentioned in commit b3a4d501
-
mentioned in commit fbc83aec
-
mentioned in commit 105624d7
-
mentioned in commit f58eec14
-
mentioned in commit 1bdd4ae9
-
mentioned in commit 540d73a5
-
mentioned in commit e5138f43
Please register or sign in to comment