cgroups: move the cgroup debug subsys into cgroup.c to access internal state
authorPaul Menage <menage@google.com>
Wed, 23 Sep 2009 22:56:20 +0000 (15:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Sep 2009 14:20:57 +0000 (07:20 -0700)
commitfe6934354f8e287275500cd6ec73826d4d6ad457
treef5ccab89d27472f5116257d1f7248594d3510882
parentc6d57f3312a6619d47c5557b5f6154a74d04ff80
cgroups: move the cgroup debug subsys into cgroup.c to access internal state

While it's architecturally clean to have the cgroup debug subsystem be
completely independent of the cgroups framework, it limits its usefulness
for debugging the contents of internal data structures.  Move the debug
subsystem code into the scope of all the cgroups data structures to make
more detailed debugging possible.

Signed-off-by: Paul Menage <menage@google.com>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/Makefile
kernel/cgroup.c
kernel/cgroup_debug.c [deleted file]