projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0ae5e2
)
csky: Add kmemleak support
author
Guo Ren
<guoren@linux.alibaba.com>
Thu, 24 Dec 2020 03:34:43 +0000
(
03:34
+0000)
committer
Guo Ren
<guoren@linux.alibaba.com>
Tue, 12 Jan 2021 01:52:41 +0000
(09:52 +0800)
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>
arch/csky/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/arch/csky/Kconfig
b/arch/csky/Kconfig
index af640a41b749f9fbdca5a7353e2d88a0bf82980a..7f1721101ea0d7ba821070660f88e503408e521f 100644
(file)
--- 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