[CRIU] [PATCH 3/4] cg: Add ability to dump specified controllers only
Cyrill Gorcunov
gorcunov at gmail.com
Mon May 16 05:53:37 PDT 2016
On Mon, May 16, 2016 at 03:39:48PM +0300, Pavel Emelyanov wrote:
> > @@ -631,6 +632,10 @@ int main(int argc, char *argv[], char *envp[])
> > case 1081:
> > opts.cgroup_props_file = optarg;
> > break;
> > + case 1082:
> > + if (!cgp_add_dump_controller(optarg))
>
> Why not rely on --cgroup-props[-file] option?
>
> > + return 1;
> > + break;
This is different. This particular feature allows us to skip
controllers without specifying properties, ie when we're fine
with built-in props criu provides. This saves space in command
line arguments.
More information about the CRIU
mailing list