Skip to content

objtool: AUTOFDO fixes + alias improvements

Josh Poimboeuf lkml 1 version Applied

Status from this message: The following commit has been merged into the objtool/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6objtool: Support Clang AUTOFDO .cold functionstools/objtool/elf.c+9 -11 reply
2/6objtool: Fix .cold function detection for duplicate symbolstools/objtool/elf.c tools/objtool/include/objtool/elf.h+27 -30 replies
3/6objtool: Don't alias undefined symbolstools/objtool/elf.c+2 -20 replies
4/6objtool: Return canonical symbol when aliases exist in symbol finding helperstools/objtool/elf.c+13 -130 replies
5/6objtool: Skip non-canonical aliased symbols in add_jump_table_alts()tools/objtool/check.c+1 -10 replies
6/6objtool: Remove second pass of .cold function correlationtools/objtool/check.c tools/objtool/elf.c+3 -230 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

Patch[email protected]
1/6T-b R-b
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] objtool: AUTOFDO fixes + alias improvements

For tip/objtool/core.

- Patches 1 and 2 fix some issues which were found when testing with AutoFDO .cold functions.

- Patches 3-5 make improvements to the handling of symbol aliases.

- Patch 6 uses the alias infrastructure to simplify the .cold parent/child correlation code.

Josh Poimboeuf (6):
objtool: Support Clang AUTOFDO .cold functions
objtool: Fix .cold function detection for duplicate symbols
objtool: Don't alias undefined symbols
objtool: Return canonical symbol when aliases exist in symbol finding
helpers
objtool: Skip non-canonical aliased symbols in add_jump_table_alts()
objtool: Remove second pass of .cold function correlation

 tools/objtool/check.c               | 25 +---------
 tools/objtool/elf.c                 | 71 +++++++++++++++++++++--------
 tools/objtool/include/objtool/elf.h |  2 +-
 3 files changed, 55 insertions(+), 43 deletions(-)
Signature · 1 line
2.51.1