diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index d8d2e2ff513d..556942cf2606 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c @@ -1024,6 +1024,9 @@ static void print_cfs_stats(struct seq_file *m, int cpu) { struct cfs_rq *cfs_rq; +#ifdef CONFIG_FAIR_GROUP_SCHED + print_cfs_rq(m, cpu, &cpu_rq(cpu)->cfs); +#endif for_each_leaf_cfs_rq(cpu_rq(cpu), cfs_rq) print_cfs_rq(m, cpu, cfs_rq); }