samples: introduce new samples subdir for cgroup
[linux-2.6-block.git] / samples / Kconfig
index b0ddf5f3673887174da5a0a5c1d46f51003ebdf2..b288d9991d27ae9f064e388fb691ff0d6f0c2ff8 100644 (file)
@@ -285,6 +285,12 @@ config SAMPLE_KMEMLEAK
           Build a sample program which have explicitly leaks memory to test
           kmemleak
 
+config SAMPLE_CGROUP
+       bool "Build cgroup sample code"
+       depends on CGROUPS && CC_CAN_LINK && HEADERS_INSTALL
+       help
+         Build samples that demonstrate the usage of the cgroup API.
+
 source "samples/rust/Kconfig"
 
 endif # SAMPLES