summaryrefslogtreecommitdiff
path: root/pkg/checkpoint
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-08 09:29:56 +0100
committerGitHub <noreply@github.com>2021-11-08 09:29:56 +0100
commit865653b661dd9dbc5d31f08cbf3f14ed32c82850 (patch)
treeeebfea51a7e8cb5e0256e0e96ccf5e448f003585 /pkg/checkpoint
parentabbd6c167e8163a711680db80137a0731e06e564 (diff)
parent3e1940a8e4c73e97feebad49c17d0d50ad9e43cc (diff)
downloadpodman-865653b661dd9dbc5d31f08cbf3f14ed32c82850.tar.gz
podman-865653b661dd9dbc5d31f08cbf3f14ed32c82850.tar.bz2
podman-865653b661dd9dbc5d31f08cbf3f14ed32c82850.zip
Merge pull request #12184 from adrianreber/2021-11-05-stats-dump
Add 'stats-dump' file to exported checkpoint
Diffstat (limited to 'pkg/checkpoint')
-rw-r--r--pkg/checkpoint/checkpoint_restore.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/checkpoint/checkpoint_restore.go b/pkg/checkpoint/checkpoint_restore.go
index 637f1c0e8..da82c9745 100644
--- a/pkg/checkpoint/checkpoint_restore.go
+++ b/pkg/checkpoint/checkpoint_restore.go
@@ -6,6 +6,7 @@ import (
"os"
metadata "github.com/checkpoint-restore/checkpointctl/lib"
+ "github.com/checkpoint-restore/go-criu/v5/stats"
"github.com/containers/common/libimage"
"github.com/containers/common/pkg/config"
"github.com/containers/podman/v3/libpod"
@@ -39,6 +40,7 @@ func CRImportCheckpoint(ctx context.Context, runtime *libpod.Runtime, restoreOpt
"volumes",
"ctr.log",
"artifacts",
+ stats.StatsDump,
metadata.RootFsDiffTar,
metadata.DeletedFilesFile,
metadata.NetworkStatusFile,