[CRIU] [PATCH 3/4] cg: Add ability to dump specified controllers only

Pavel Emelyanov xemul at virtuozzo.com
Mon May 16 05:39:48 PDT 2016


> @@ -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;
>  		case 'V':
>  			pr_msg("Version: %s\n", CRIU_VERSION);
>  			if (strcmp(CRIU_GITID, "0"))



More information about the CRIU mailing list