Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / samples / Kconfig
index 30ef8bd48ba38c06512fe1c415772ce02a84a71a..b2db430bd3ff3b6abe6e5f9a8f630047baf4de18 100644 (file)
@@ -38,7 +38,7 @@ config SAMPLE_FTRACE_DIRECT
          that hooks to wake_up_process and prints the parameters.
 
 config SAMPLE_FTRACE_DIRECT_MULTI
-       tristate "Build register_ftrace_direct_multi() example"
+       tristate "Build register_ftrace_direct() on multiple ips example"
        depends on DYNAMIC_FTRACE_WITH_DIRECT_CALLS && m
        depends on HAVE_SAMPLE_FTRACE_DIRECT_MULTI
        help
@@ -273,6 +273,13 @@ config SAMPLE_CORESIGHT_SYSCFG
          This demonstrates how a user may create their own CoreSight
          configurations and easily load them into the system at runtime.
 
+config SAMPLE_KMEMLEAK
+        tristate "Simple test for the kernel memory leak detector"
+        depends on DEBUG_KMEMLEAK && m
+        help
+          Build a sample program which have explicitly leaks memory to test
+          kmemleak
+
 source "samples/rust/Kconfig"
 
 endif # SAMPLES