2
0
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:
Andrei Vagin
2018-04-28 09:02:31 +03:00
parent 45620418e4
commit 0771942c73

View File

@@ -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"])