diff options
| author | Jiri Olsa <[email protected]> | 2021-01-21 21:22:03 +0100 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-01-21 15:38:01 -0800 |
| commit | 6095d5a271ad6dce30489526771a9040d78e0895 (patch) | |
| tree | 0c34fa1f2a08cccb91c920318a011df018904a32 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | b452ee005a9135ed89fc8c9dff14e042770eb4f1 (diff) | |
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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions