diff options
author | Lukas Bulwahn <lukas.bulwahn@gmail.com> | 2023-04-14 09:12:41 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2023-04-21 02:53:38 +0300 |
commit | a110f8eb6a56d2796f59f6ced9b79d55bfd56839 (patch) | |
tree | cc1023d14823d3fc98ab37a5d4de54aa98f78525 /Documentation/dev-tools/kmemleak.rst | |
parent | 5c2c34a49be8fa534379c64579671feea52432b9 (diff) | |
download | linux-a110f8eb6a56d2796f59f6ced9b79d55bfd56839.tar.xz |
docs: kmemleak: adjust to config renaming
Commit c87db8ca0902 ("kmemleak-test: fix kmemleak_test.c build logic")
essentially renames the config DEBUG_KMEMLEAK_TEST to SAMPLE_KMEMLEAK, but
misses to adjust the documentation.
Adjust kmemleak documentation to this config renaming.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20230414061241.12754-1-lukas.bulwahn@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/dev-tools/kmemleak.rst')
-rw-r--r-- | Documentation/dev-tools/kmemleak.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/dev-tools/kmemleak.rst b/Documentation/dev-tools/kmemleak.rst index 5483fd39ef29..2cb00b53339f 100644 --- a/Documentation/dev-tools/kmemleak.rst +++ b/Documentation/dev-tools/kmemleak.rst @@ -227,7 +227,7 @@ Testing with kmemleak-test -------------------------- To check if you have all set up to use kmemleak, you can use the kmemleak-test -module, a module that deliberately leaks memory. Set CONFIG_DEBUG_KMEMLEAK_TEST +module, a module that deliberately leaks memory. Set CONFIG_SAMPLE_KMEMLEAK as module (it can't be used as built-in) and boot the kernel with kmemleak enabled. Load the module and perform a scan with:: |