diff options
author | Waiman Long <longman@redhat.com> | 2017-06-14 00:18:02 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-06-14 23:01:21 +0300 |
commit | a28f8f5e995fe5964ae304444913536058f26e37 (patch) | |
tree | f1b90d03615de1a443631d6ab20ae873f2c04038 /kernel/cgroup/cgroup-internal.h | |
parent | 73a7242a06ff995d771fbe243e72b516feaa6e3d (diff) | |
download | linux-a28f8f5e995fe5964ae304444913536058f26e37.tar.xz |
cgroup: Move debug cgroup to its own file
The debug cgroup currently resides within cgroup-v1.c and is enabled
only for v1 cgroup. To enable the debug cgroup also for v2, it makes
sense to put the code into its own file as it will no longer be v1
specific. There is no change to the debug cgroup specific code.
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup/cgroup-internal.h')
-rw-r--r-- | kernel/cgroup/cgroup-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/cgroup/cgroup-internal.h b/kernel/cgroup/cgroup-internal.h index 00f4d6bf048f..793565c05742 100644 --- a/kernel/cgroup/cgroup-internal.h +++ b/kernel/cgroup/cgroup-internal.h @@ -192,6 +192,8 @@ int cgroup_rmdir(struct kernfs_node *kn); int cgroup_show_path(struct seq_file *sf, struct kernfs_node *kf_node, struct kernfs_root *kf_root); +int cgroup_task_count(const struct cgroup *cgrp); + /* * namespace.c */ |