[CRIU] [PATCH] zdtm: add --track-mem to final snapshot
Tikhomirov Pavel
snorcht at gmail.com
Thu Apr 3 02:28:35 PDT 2014
overwize it won't reuse parent snapshot, in mem.c in page_in_parent
this option is checked.
Signed-off-by: Tikhomirov Pavel <snorcht at gmail.com>
---
test/zdtm.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/zdtm.sh b/test/zdtm.sh
index d7f8fca..6997afc 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -487,9 +487,9 @@ EOF
fi
if [ -n "$SNAPSHOT" ]; then
- snapopt=""
+ snapopt="--track-mem"
if [ "$i" -ne "$ITERATIONS" ]; then
- snapopt="$snapopt -R --track-mem"
+ snapopt="$snapopt -R"
dump_only=1
[ -n "$PRE_DUMP" ] && dump_cmd="pre-dump"
fi
--
1.8.3.2
More information about the CRIU
mailing list