Skip to content

RFC objtool: KCOV vs noinstr

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3objtool: Clean up elf_write() conditiontools/objtool/check.c tools/objtool/elf.c tools/objtool/elf.h+11 -23 replies
2/3objtool: Provide elf_write_{insn,reloc}()tools/objtool/elf.c tools/objtool/elf.h+57 -22 replies
3/3objtool: Fix noinstr vs KCOVtools/objtool/arch.h tools/objtool/arch/x86/decode.c tools/objtool/arch/x86/include/arch_elf.h +1 more+45 -01 reply

Reviews trailers per patch

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

PatchDmitry Vyukov
1/3
2/3
3/3A-b

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

Read the v1 thread

Cover letter [RFC][PATCH 0/3] objtool: KCOV vs noinstr

Hi All,

These patches go on top of objtool/core, although possibly we need them earlier.

In order to solve the KCOV-vs-noinstr situation, we need objtool to rewrite calls to __sanitizer_cov_*() into NOPs, similar to what recordmcount does.

I'm hoping the pending objtool-recordmcount patches can also reuse some of this.