summaryrefslogtreecommitdiff
path: root/arch/csky/Kconfig
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-02-18 20:27:39 +0800
committerGuo Ren <guoren@linux.alibaba.com>2020-03-08 20:55:14 +0800
commit89a3927a775c0a7212e2e3c4e2d42cd48895bee0 (patch)
tree18dc3f0f5c95f004f7613882a511eb7e19b32ba6 /arch/csky/Kconfig
parent9866d141a0977ace974400bf1f793dfc163409ce (diff)
downloadlwn-89a3927a775c0a7212e2e3c4e2d42cd48895bee0.tar.gz
lwn-89a3927a775c0a7212e2e3c4e2d42cd48895bee0.zip
csky: Implement ftrace with regs
This patch implements FTRACE_WITH_REGS for csky, which allows a traced function's arguments (and some other registers) to be captured into a struct pt_regs, allowing these to be inspected and/or modified. Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'arch/csky/Kconfig')
-rw-r--r--arch/csky/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
index 0e9b14367fa8..6cf169a15794 100644
--- a/arch/csky/Kconfig
+++ b/arch/csky/Kconfig
@@ -38,6 +38,7 @@ config CSKY
select HAVE_ARCH_AUDITSYSCALL
select HAVE_COPY_THREAD_TLS
select HAVE_DYNAMIC_FTRACE
+ select HAVE_DYNAMIC_FTRACE_WITH_REGS
select HAVE_FUNCTION_TRACER
select HAVE_FUNCTION_GRAPH_TRACER
select HAVE_FTRACE_MCOUNT_RECORD