aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGowrishankar M <[email protected]>2009-01-07 18:07:43 -0800
committerLinus Torvalds <[email protected]>2009-01-08 08:31:03 -0800
commite7b80bb695a5b64c92e314838e083b2f3bdf29b2 (patch)
treef5eafb9825a23550dbf903e5cabd71655e4e55ce /tools/perf/scripts/python
parentc12f65d4396e05c51ce3af7f159ead98574a587c (diff)
cgroups: skip processes from other namespaces when listing a cgroup
Once tasks are populated from system namespace inside cgroup, container replaces other namespace task with 0 while listing tasks, inside container. Though this is expected behaviour from container end, there is no use of showing unwanted 0s. In this patch, we check if a process is in same namespace before loading into pid array. [[email protected]: coding-style fixes] Signed-off-by: Gowrishankar M <[email protected]> Acked-by: Paul Menage <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions