Commit 00ae0d33 authored by Pavel Emelyanov's avatar Pavel Emelyanov

dump: Add comment how we dump zombies in pidns case

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 9dd6887d
...@@ -1199,6 +1199,16 @@ static int dump_task_threads(struct parasite_ctl *parasite_ctl, ...@@ -1199,6 +1199,16 @@ static int dump_task_threads(struct parasite_ctl *parasite_ctl,
return 0; return 0;
} }
/*
* What this routine does is just reads pid-s of dead
* tasks in item's children list from item's ns proc.
*
* It does *not* find wihch real pid corresponds to
* which virtual one, but it's not required -- all we
* need to dump for zombie can be found in the same
* ns proc.
*/
static int fill_zombies_pids(struct pstree_item *item) static int fill_zombies_pids(struct pstree_item *item)
{ {
struct pstree_item *child; struct pstree_item *child;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment