提交 23b0be48 编写于 作者: W Waiman Long 提交者: Tejun Heo

cgroup: Make Kconfig prompt of debug cgroup more accurate

The Kconfig prompt and description of the debug cgroup controller
more accurate by saying that it is for debug purpose only and its
interfaces are unstable.
Signed-off-by: NWaiman Long <longman@redhat.com>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 a28f8f5e
...@@ -1205,11 +1205,14 @@ config CGROUP_BPF ...@@ -1205,11 +1205,14 @@ config CGROUP_BPF
inet sockets. inet sockets.
config CGROUP_DEBUG config CGROUP_DEBUG
bool "Example controller" bool "Debug controller"
default n default n
depends on DEBUG_KERNEL
help help
This option enables a simple controller that exports This option enables a simple controller that exports
debugging information about the cgroups framework. debugging information about the cgroups framework. This
controller is for control cgroup debugging only. Its
interfaces are not stable.
Say N. Say N.
......
/*
* Debug controller
*
* WARNING: This controller is for cgroup core debugging only.
* Its interfaces are unstable and subject to changes at any time.
*/
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/slab.h> #include <linux/slab.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册