From 33576216a5c1883809bab657974f5c299e80b337 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 1 Jul 2020 10:22:57 +0200 Subject: docs/linux: mention CONFIG_KMEMLEAK in suggested kernel configs Signed-off-by: Tobias Klauser --- docs/linux/kernel_configs.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') 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 -- cgit mrf-deployment