Skip to content

Commit a110f8e

Browse files
bulwahnJonathan Corbet
authored andcommitted
docs: kmemleak: adjust to config renaming
Commit c87db8c ("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>
1 parent 5c2c34a commit a110f8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/dev-tools/kmemleak.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Testing with kmemleak-test
227227
--------------------------
228228

229229
To check if you have all set up to use kmemleak, you can use the kmemleak-test
230-
module, a module that deliberately leaks memory. Set CONFIG_DEBUG_KMEMLEAK_TEST
230+
module, a module that deliberately leaks memory. Set CONFIG_SAMPLE_KMEMLEAK
231231
as module (it can't be used as built-in) and boot the kernel with kmemleak
232232
enabled. Load the module and perform a scan with::
233233

0 commit comments

Comments
 (0)