diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2020-12-24 03:34:43 +0000 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2021-01-12 09:52:41 +0800 |
commit | c109f42450ec25283169dd6c0acce8d053493732 (patch) | |
tree | 3bd33cb2ca2b373761836ecd3813d26976f79779 /arch/csky | |
parent | b0ae5e26b863f74aeaf73684d04dfb6fb72f836c (diff) | |
download | linux-c109f42450ec25283169dd6c0acce8d053493732.tar.gz linux-c109f42450ec25283169dd6c0acce8d053493732.tar.bz2 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>
Diffstat (limited to 'arch/csky')
-rw-r--r-- | arch/csky/Kconfig | 1 |
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 |