]> git.baikalelectronics.ru Git - kernel.git/commit
riscv/ftrace: Add RECORD_MCOUNT support
authorAlan Kao <alankao@andestech.com>
Tue, 13 Feb 2018 05:13:16 +0000 (13:13 +0800)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 3 Apr 2018 02:59:10 +0000 (19:59 -0700)
commit255cabf013215f82f5f54846d65a7b341fd403fd
tree02678da661691d5576560c22f7aa62621d3773c2
parent17a125099a8c4e05d364eab41cd2bb30ef1cd67c
riscv/ftrace: Add RECORD_MCOUNT support

Now recordmcount.pl recognizes RISC-V object files. For the mechanism to
work, we have to disable the linker relaxation.

Cc: Greentime Hu <greentime@andestech.com>
Signed-off-by: Alan Kao <alankao@andestech.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/Kconfig
arch/riscv/Makefile
scripts/recordmcount.pl