diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2023-01-31 15:16:22 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-02-01 21:51:31 -0300 |
commit | 60fbb3e49abe8421b677d5eee32fe7fb27b05e3b (patch) | |
tree | 50a633898fb7d4ad59c5922bf09ab032f46aed9b /tools/perf/scripts/python/export-to-postgresql.py | |
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 <namhyung@kernel.org>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230131131625.6964-7-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions