mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
cr-dump: show virtual PID-s in a log file
Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
bae333dfcb
commit
20e8eefb01
@@ -1335,8 +1335,8 @@ static int dump_task_thread(struct parasite_ctl *parasite_ctl, struct pid *tid)
|
||||
}
|
||||
core->thread_core->has_blk_sigset = true;
|
||||
|
||||
pr_info("%d: tid_address=%p sig_blocked=0x%lx\n", pid, taddr,
|
||||
core->thread_core->blk_sigset);
|
||||
pr_info("%d: virt_pid=%d tid_address=%p sig_blocked=0x%lx\n", pid,
|
||||
tid->virt, taddr, core->thread_core->blk_sigset);
|
||||
core->thread_info->clear_tid_addr = (u64) taddr;
|
||||
|
||||
ret = dump_sched_info(pid, core->thread_core);
|
||||
@@ -1556,6 +1556,9 @@ static int dump_one_task(struct pstree_item *item)
|
||||
item->sid = misc.sid;
|
||||
item->pgid = misc.pgid;
|
||||
|
||||
pr_info("sid=%d pgid=%d pid=%d\n",
|
||||
item->sid, item->pgid, item->pid.virt);
|
||||
|
||||
ret = -1;
|
||||
cr_fdset = cr_task_fdset_open(item->pid.virt, O_DUMP);
|
||||
if (!cr_fdset)
|
||||
|
Reference in New Issue
Block a user