Searched hist:"6095 d5a271ad6dce30489526771a9040d78e0895" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/lib/bpf/ |
H A D | btf.c | diff 6095d5a271ad6dce30489526771a9040d78e0895 Thu Jan 21 14:22:03 CST 2021 Jiri Olsa <jolsa@kernel.org> libbpf: Use string table index from index table if needed
For very large ELF objects (with many sections), we could get special value SHN_XINDEX (65535) for elf object's string table index - e_shstrndx.
Call elf_getshdrstrndx to get the proper string table index, instead of reading it directly from ELF header.
Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210121202203.9346-4-jolsa@kernel.org
|