perf symbols: Improve dso__synthesize_plt_symbols() for x86
Status from this message: Thanks, applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 3 repliesApplied
- v19 patches 6 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | perf symbols: Correct plt entry sizes for x86tools/ | +13 | 0 replies | |
| 2/9 | perf symbols: Add support for x86 .plt.sectools/ | +23 | 0 replies | |
| 3/9 | perf symbols: Sort plt relocations for x86tools/ | +57 | 0 replies | |
| 4/9 | perf symbols: Record whether a symbol is an alias for an IFUNC symboltools/ tools/ | +6 | 0 replies | |
| 5/9 | perf symbols: Add support for IFUNC symbols for x86_64tools/ | +37 | 0 replies | |
| 6/9 | perf symbols: Allow for .plt without headertools/ | +15 | 0 replies | |
| 7/9 | perf symbols: Allow for static executables with .plttools/ tools/ | +21 | 0 replies | |
| 8/9 | perf symbols: Start adding support for .plt.got for x86tools/ | +29 | 1 reply | |
| 9/9 | perf symbols: Get symbols for .plt.got for x86-64tools/ | +157 | 0 replies |
Reviews trailers per patch
None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Namhyung Kim |
|---|---|
| Series | R-b |
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/9] perf symbols: Improve dso__synthesize_plt_symbols() for x86
Hi
This is version 2 of 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.
Changes in V2:
perf symbols: Add support for x86 .plt.sec
Amend commit message and example about -z plt
perf symbols: Get symbols for .plt.got for x86-64
Fix get_plt_got_name() not to segfault with EM_386
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 | 365 ++++++++++++++++++++++++++++++++++++++++--- tools/perf/util/symbol.c | 4 + tools/perf/util/symbol.h | 2 + tools/perf/util/symsrc.h | 1 + 4 files changed, 350 insertions(+), 22 deletions(-)
Regards
Adrian