diff options
author | Zong Li <zong@andestech.com> | 2018-08-15 11:00:08 +0800 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-09-04 14:45:18 +0800 |
commit | 6b1d6d2fba37129f690ee7e9164f225c55626cac (patch) | |
tree | d343bd17356b373133cce508a63c1de3b2f1e933 /arch/nds32/Kconfig | |
parent | fbf58a52ac088669dfa930e557d0303a9fbb7e17 (diff) |
nds32/ftrace: Support dynamic function tracer
This patch contains the implementation of dynamic function tracer.
The mcount call is composed of three instructions, so there are three
nop for enough placeholder.
Signed-off-by: Zong Li <zong@andestech.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'arch/nds32/Kconfig')
-rw-r--r-- | arch/nds32/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig index 48d92171ea20..7068f341133d 100644 --- a/arch/nds32/Kconfig +++ b/arch/nds32/Kconfig @@ -43,6 +43,7 @@ config NDS32 select HAVE_FUNCTION_TRACER select HAVE_FUNCTION_GRAPH_TRACER select HAVE_FTRACE_MCOUNT_RECORD + select HAVE_DYNAMIC_FTRACE help Andes(nds32) Linux support. |