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

Cyrill Gorcunov gorcunov at gmail.com
Thu Feb 4 09:13:34 PST 2016


On Thu, Feb 04, 2016 at 08:26:36AM -0800, Andrew Vagin wrote:
> 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

Why?

 pr_err("Set %d is not subset of %d\n"
pr_info("   `- %s of %s\n"

I don't think so.


More information about the CRIU mailing list