aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-04-23 11:13:15 -0400
committerTejun Heo <tj@kernel.org>2014-04-23 11:13:15 -0400
commit2d8f243a5e6efa57fb7c46fe83fafa45b33d0ec2 (patch)
tree28764133b56c5fa8e6b3a9a30615573065552ed6 /tools/perf/scripts/python/syscall-counts.py
parentaec3dfcb2e43892180ee053e8c260dcdeccf4392 (diff)
cgroup: implement cgroup->e_csets[]
On the default unified hierarchy, a cgroup may be associated with csses of its ancestors, which means that a css of a given cgroup may be associated with css_sets of descendant cgroups. This means that we can't walk all tasks associated with a css by iterating the css_sets associated with the cgroup as there are css_sets which are pointing to the css but linked on the descendants. This patch adds per-subsystem list heads cgroup->e_csets[]. Any css_set which is pointing to a css is linked to css->cgroup->e_csets[$SUBSYS_ID] through css_set->e_cset_node[$SUBSYS_ID]. The lists are protected by css_set_rwsem and will allow us to walk all css_sets associated with a given css so that we can find out all associated tasks. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions