mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
We want to use a simple fact: If we have an alive process in a pstree we want to dump, and a starttime of that process is less than pre-dump's timestamp, then these exact process existed (100% sure) at the time of these pre-dump and the process' memory was dumped in images. Thus we save uptime while in freezed state else these won't work. https://jira.sw.ru/browse/PSBM-67502 Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
36 lines
921 B
Protocol Buffer
36 lines
921 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
// This one contains statistics about dump/restore process
|
|
message dump_stats_entry {
|
|
required uint32 freezing_time = 1;
|
|
required uint32 frozen_time = 2;
|
|
required uint32 memdump_time = 3;
|
|
required uint32 memwrite_time = 4;
|
|
|
|
required uint64 pages_scanned = 5;
|
|
required uint64 pages_skipped_parent = 6;
|
|
required uint64 pages_written = 7;
|
|
|
|
optional uint32 irmap_resolve = 8;
|
|
|
|
required uint64 pages_lazy = 9;
|
|
optional uint64 page_pipes = 10;
|
|
optional uint64 page_pipe_bufs = 11;
|
|
|
|
optional uint64 dump_uptime = 12;
|
|
}
|
|
|
|
message restore_stats_entry {
|
|
required uint64 pages_compared = 1;
|
|
required uint64 pages_skipped_cow = 2;
|
|
|
|
required uint32 forking_time = 3;
|
|
required uint32 restore_time = 4;
|
|
|
|
optional uint64 pages_restored = 5;
|
|
}
|
|
|
|
message stats_entry {
|
|
optional dump_stats_entry dump = 1;
|
|
optional restore_stats_entry restore = 2;
|
|
}
|