aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2021-03-25 15:38:05 -0700
committerPalmer Dabbelt <[email protected]>2021-04-26 08:25:00 -0700
commit2f095504f4b9cf75856d6a9cf90299cf75aa46c5 (patch)
tree5d0890ca63ab3757ac2b4c4778435f6c2fea1ec7 /tools/perf/scripts/python
parent7f3d349065d0c643f7f7013fbf9bc9f2c90b675f (diff)
scripts/recordmcount.pl: Fix RISC-V regex for clang
Clang can generate R_RISCV_CALL_PLT relocations to _mcount: $ llvm-objdump -dr build/riscv/init/main.o | rg mcount 000000000000000e: R_RISCV_CALL_PLT _mcount 000000000000004e: R_RISCV_CALL_PLT _mcount After this, the __start_mcount_loc section is properly generated and function tracing still works. Link: https://github.com/ClangBuiltLinux/linux/issues/1331 Signed-off-by: Nathan Chancellor <[email protected]> Reviewed-by: Fangrui Song <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions