summaryrefslogtreecommitdiff
path: root/arch/nds32/Kconfig
diff options
context:
space:
mode:
authorZong Li <zong@andestech.com>2018-08-15 06:00:08 +0300
committerGreentime Hu <greentime@andestech.com>2018-09-04 09:45:18 +0300
commit6b1d6d2fba37129f690ee7e9164f225c55626cac (patch)
treed343bd17356b373133cce508a63c1de3b2f1e933 /arch/nds32/Kconfig
parentfbf58a52ac088669dfa930e557d0303a9fbb7e17 (diff)
downloadlinux-6b1d6d2fba37129f690ee7e9164f225c55626cac.tar.xz
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/Kconfig1
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.