[PATCH 0/9] perf symbols: Improve dso__synthesize_plt_symbols() for x86

Adrian Hunter posted 9 patches 2 years, 7 months ago
There is a newer version of this series
tools/perf/util/symbol-elf.c | 362 ++++++++++++++++++++++++++++++++++++++++---
tools/perf/util/symbol.c     |   4 +
tools/perf/util/symbol.h     |   2 +
tools/perf/util/symsrc.h     |   1 +
4 files changed, 347 insertions(+), 22 deletions(-)
[PATCH 0/9] perf symbols: Improve dso__synthesize_plt_symbols() for x86
Posted by Adrian Hunter 2 years, 7 months ago
Hi

This is the second of 2 patchsets to improve dso__synthesize_plt_symbols().
This patchset focuses on getting rid of unknown symbols that show up in
Intel PT traces.

x86 has 2 more plt's, namely .plt.sec and .plt.got, so support is added for
synthesizing symbols for them.  Special handing is needed for IFUNC symbols,
and it is also possible to have a .plt for static executables, so support is
added for that.


Adrian Hunter (9):
      perf symbols: Correct plt entry sizes for x86
      perf symbols: Add support for x86 .plt.sec
      perf symbols: Sort plt relocations for x86
      perf symbols: Record whether a symbol is an alias for an IFUNC symbol
      perf symbols: Add support for IFUNC symbols for x86_64
      perf symbols: Allow for .plt without header
      perf symbols: Allow for static executables with .plt
      perf symbols: Start adding support for .plt.got for x86
      perf symbols: Get symbols for .plt.got for x86-64

 tools/perf/util/symbol-elf.c | 362 ++++++++++++++++++++++++++++++++++++++++---
 tools/perf/util/symbol.c     |   4 +
 tools/perf/util/symbol.h     |   2 +
 tools/perf/util/symsrc.h     |   1 +
 4 files changed, 347 insertions(+), 22 deletions(-)


Regards
Adrian