diff options
| author | Adrian Hunter <[email protected]> | 2023-01-31 15:16:22 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-02-01 21:51:31 -0300 |
| commit | 60fbb3e49abe8421b677d5eee32fe7fb27b05e3b (patch) | |
| tree | 50a633898fb7d4ad59c5922bf09ab032f46aed9b /tools/perf/scripts/python | |
| parent | b7dbc0be6e4f2a5268d76884d6651e29f95673ea (diff) | |
perf symbols: Allow for .plt without header
A static executable can have a .plt due to the presence of IFUNCs. In
that case the .plt does not have a header. Check for whether there is a
header by comparing the number of entries to the number of relocation
entries.
Reviewed-by: Namhyung Kim <[email protected]>
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions