summaryrefslogtreecommitdiffstats
path: root/arch/nds32/Kconfig
diff options
context:
space:
mode:
authorZong Li2018-08-15 05:00:08 +0200
committerGreentime Hu2018-09-04 08:45:18 +0200
commit6b1d6d2fba37129f690ee7e9164f225c55626cac (patch)
treed343bd17356b373133cce508a63c1de3b2f1e933 /arch/nds32/Kconfig
parentnds32/ftrace: Add RECORD_MCOUNT support (diff)
downloadkernel-qcow2-linux-6b1d6d2fba37129f690ee7e9164f225c55626cac.tar.gz
kernel-qcow2-linux-6b1d6d2fba37129f690ee7e9164f225c55626cac.tar.xz
kernel-qcow2-linux-6b1d6d2fba37129f690ee7e9164f225c55626cac.zip
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.