mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
zdtm: always run criu dump with --track-mem if --snaps is set
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
@@ -1235,7 +1235,7 @@ def cr(cr_api, test, opts):
|
||||
pres = iter_parm(opts['pre'], 0)
|
||||
for p in pres[0]:
|
||||
if opts['snaps']:
|
||||
cr_api.dump("dump", opts = ["--leave-running"])
|
||||
cr_api.dump("dump", opts = ["--leave-running", "--track-mem"])
|
||||
else:
|
||||
cr_api.dump("pre-dump")
|
||||
try_run_hook(test, ["--post-pre-dump"])
|
||||
|
Reference in New Issue
Block a user