mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
collect: Print info about collection finish
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
2
seize.c
2
seize.c
@@ -462,6 +462,8 @@ static int collect_loop(struct pstree_item *item,
|
||||
nr_inprogress = collect(item);
|
||||
}
|
||||
|
||||
pr_info("Collected (%d attempts, %d in_progress)\n", attempts, nr_inprogress);
|
||||
|
||||
/*
|
||||
* We may fail to collect items or run out of attempts.
|
||||
* In the former case nr_inprogress will be negative, in
|
||||
|
Reference in New Issue
Block a user