aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorSrivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>2007-10-15 11:00:09 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:09 -0400
commit75c28ace9f2b2f403674e045939424a77c95b47c (patch)
tree036fcf799d75a08d4913d7d25ef5602fe3c62260 /kernel/sched_fair.c
parent545f3b18152355acbb8da59873506fcf66c7c60e (diff)
sched: print &rq->cfs stats
- Print &rq->cfs statistics as well (useful for group scheduling) Signed-off-by: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c3
1 files changed, 3 insertions, 0 deletions
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)
1024{ 1024{
1025 struct cfs_rq *cfs_rq; 1025 struct cfs_rq *cfs_rq;
1026 1026
1027#ifdef CONFIG_FAIR_GROUP_SCHED
1028 print_cfs_rq(m, cpu, &cpu_rq(cpu)->cfs);
1029#endif
1027 for_each_leaf_cfs_rq(cpu_rq(cpu), cfs_rq) 1030 for_each_leaf_cfs_rq(cpu_rq(cpu), cfs_rq)
1028 print_cfs_rq(m, cpu, cfs_rq); 1031 print_cfs_rq(m, cpu, cfs_rq);
1029} 1032}