aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux/kernel_configs.md
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2020-07-01 10:22:57 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-07-01 10:43:09 +0200
commit33576216a5c1883809bab657974f5c299e80b337 (patch)
tree0078d2c16cbfdd0119c70c53c9606864b79efb46 /docs/linux/kernel_configs.md
parentc0383ebe66df022abecd93d2ca79b65b58d0c090 (diff)
docs/linux: mention CONFIG_KMEMLEAK in suggested kernel configs
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'docs/linux/kernel_configs.md')
-rw-r--r--docs/linux/kernel_configs.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/linux/kernel_configs.md b/docs/linux/kernel_configs.md
index d5291fa03..7bff152e8 100644
--- a/docs/linux/kernel_configs.md
+++ b/docs/linux/kernel_configs.md
@@ -17,6 +17,13 @@ Note that `CONFIG_KCOV_ENABLE_COMPARISONS` feature also requires `gcc8+` and the
kcov: fix comparison callback signature
```
+To detect memory leaks using the [Kernel Memory Leak Detector
+(kmemleak)](https://www.kernel.org/doc/html/latest/dev-tools/kmemleak.html):
+
+```
+CONFIG_KMEMLEAK=y
+```
+
To show code coverage in web interface:
```
CONFIG_DEBUG_INFO=y