summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-07-12 12:34:02 -0700
committerTejun Heo <tj@kernel.org>2013-07-12 12:34:02 -0700
commitb420ba7db15659253d4f286a0ba479d336371999 (patch)
treedd19242c8bc703f13b7fe154e411bc9426e42476 /tools/perf/scripts/python
parentbee550994f6b0c1179bd3ccea58dc5c2c4ccf842 (diff)
cgroup: use for_each_subsys() instead of for_each_root_subsys() in cgroup_populate/clear_dir()
rebind_subsystems() will be updated to handle file creations and removals with proper error handling and to do that will need to perform file operations before actually adding the subsystem to the hierarchy. To enable such usage, update cgroup_populate/clear_dir() to use for_each_subsys() instead of for_each_root_subsys() so that they operate on all subsystems specified by @subsys_mask whether that subsystem is currently bound to the hierarchy or not. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions