diff options
author | Alan Kao <alankao@andestech.com> | 2018-02-13 08:13:16 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2018-04-03 05:59:10 +0300 |
commit | a1d2a6b4cee858a2f27eebce731fbf1dfd72cb4e (patch) | |
tree | 02678da661691d5576560c22f7aa62621d3773c2 /arch/riscv/Kconfig | |
parent | 0adb32858b0bddf4ada5f364a84ed60b196dbcda (diff) | |
download | linux-a1d2a6b4cee858a2f27eebce731fbf1dfd72cb4e.tar.xz |
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>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 04807c7f64cc..c9ccc6ea4371 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -114,6 +114,7 @@ config ARCH_RV64I select 64BIT select HAVE_FUNCTION_TRACER select HAVE_FUNCTION_GRAPH_TRACER + select HAVE_FTRACE_MCOUNT_RECORD endchoice |