mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
Allow passing --display_stats via RPC.
Signed-off-by: Michał Cłapiński <mclapinski@google.com> Signed-off-by: Michał Mirosław <emmir@google.com>
This commit is contained in:
parent
0e88a91ff0
commit
1e5ebec39d
@ -723,6 +723,9 @@ static int setup_opts_from_req(int sk, CriuOpts *req)
|
||||
if (req->orphan_pts_master)
|
||||
opts.orphan_pts_master = true;
|
||||
|
||||
if (req->has_display_stats)
|
||||
opts.display_stats = req->display_stats;
|
||||
|
||||
/* Evaluate additional configuration file a second time to overwrite
|
||||
* all RPC settings. */
|
||||
if (req->config_file) {
|
||||
|
@ -141,6 +141,7 @@ message criu_opts {
|
||||
optional bool skip_file_rwx_check = 66;
|
||||
optional bool unprivileged = 67;
|
||||
optional bool leave_stopped = 69;
|
||||
optional bool display_stats = 70;
|
||||
/* optional bool check_mounts = 128; */
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user