[CRIU] [PATCH] cg: Add debug printing on subset mismatch

Andrew Vagin avagin at virtuozzo.com
Thu Feb 4 08:26:36 PST 2016


On Wed, Jan 27, 2016 at 11:32:02AM +0300, Cyrill Gorcunov wrote:
> Signed-off-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>
> ---
>  cgroup.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/cgroup.c b/cgroup.c
> index 27be045..5dbc446 100644
> --- a/cgroup.c
> +++ b/cgroup.c
> @@ -791,6 +791,9 @@ static int dump_sets(CgroupEntry *cg)
>  		if (!cg_set_compare(set, &root_cgset->ctls, CGCMP_ISSUB)) {
>  			pr_err("Set %d is not subset of %d\n",
>  					set->id, root_cgset->id);
> +
> +			list_for_each_entry(ctl, &set->ctls, l)
> +			pr_info("   `- %s of %s\n", ctl->name, ctl->path);

need to add one more tab
>  			return -1;
>  		}
>  
> -- 
> 2.5.0
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list