]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - kernel/sched/debug.c
Apply preempt_rt patch-4.9-rt1.patch.xz
[zynq/linux.git] / kernel / sched / debug.c
index 13935886a4711b2efd576f8890e1564f54991653..9352241234413643684c41a507d63f9f4156892f 100644 (file)
@@ -415,7 +415,8 @@ static char *task_group_path(struct task_group *tg)
        if (autogroup_path(tg, group_path, PATH_MAX))
                return group_path;
 
-       return cgroup_path(tg->css.cgroup, group_path, PATH_MAX);
+       cgroup_path(tg->css.cgroup, group_path, PATH_MAX);
+       return group_path;
 }
 #endif
 
@@ -557,6 +558,9 @@ void print_rt_rq(struct seq_file *m, int cpu, struct rt_rq *rt_rq)
        P(rt_throttled);
        PN(rt_time);
        PN(rt_runtime);
+#ifdef CONFIG_SMP
+       P(rt_nr_migratory);
+#endif
 
 #undef PN
 #undef P
@@ -952,6 +956,10 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m)
 #endif
        P(policy);
        P(prio);
+#ifdef CONFIG_PREEMPT_RT_FULL
+       P(migrate_disable);
+#endif
+       P(nr_cpus_allowed);
 #undef PN_SCHEDSTAT
 #undef PN
 #undef __PN