aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux
diff options
context:
space:
mode:
Diffstat (limited to 'docs/linux')
-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