summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-12-24 04:34:43 +0100
committerGuo Ren <guoren@linux.alibaba.com>2021-01-12 02:52:41 +0100
commitc109f42450ec25283169dd6c0acce8d053493732 (patch)
tree3bd33cb2ca2b373761836ecd3813d26976f79779
parentcsky: Remove prologue of page fault handler in entry.S (diff)
downloadlinux-c109f42450ec25283169dd6c0acce8d053493732.tar.xz
linux-c109f42450ec25283169dd6c0acce8d053493732.zip
csky: Add kmemleak support
Here is the log after enabled: [ 1.798972] kmemleak: Kernel memory leak detector initialized (mem pool available: 15851) [ 1.798983] kmemleak: Automatic memory scanning thread started Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
-rw-r--r--arch/csky/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
index af640a41b749..7f1721101ea0 100644
--- a/arch/csky/Kconfig
+++ b/arch/csky/Kconfig
@@ -43,6 +43,7 @@ config CSKY
select HAVE_CONTEXT_TRACKING
select HAVE_VIRT_CPU_ACCOUNTING_GEN
select HAVE_DEBUG_BUGVERBOSE
+ select HAVE_DEBUG_KMEMLEAK
select HAVE_DYNAMIC_FTRACE
select HAVE_DYNAMIC_FTRACE_WITH_REGS
select HAVE_FUNCTION_TRACER