aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_debug.c
diff options
context:
space:
mode:
authorS.Caglar Onur <caglar@pardus.org.tr>2007-10-15 11:00:10 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:10 -0400
commitfdd71d132badad542a9ab99ab4a9c3c08fa6412f (patch)
tree60fd380d2a632cf0f66385ae51eb41a62d40328b /kernel/sched_debug.c
parentb8efb56172bc55082b8490778b07ef73eea0b551 (diff)
sched debug: BKL usage statistics, fix
build fix for the SCHED_DEBUG && !SCHEDSTATS case. Signed-off-by: S.Ceglar Onur <caglar@pardus.org.tr> Signed-off-by: Ingo Molnar <mingo@elte.hu> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched_debug.c')
-rw-r--r--kernel/sched_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 823b63a3a3e1..b6d0a94d4120 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -136,8 +136,10 @@ void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
136 SPLIT_NS(spread0)); 136 SPLIT_NS(spread0));
137 SEQ_printf(m, " .%-30s: %ld\n", "nr_running", cfs_rq->nr_running); 137 SEQ_printf(m, " .%-30s: %ld\n", "nr_running", cfs_rq->nr_running);
138 SEQ_printf(m, " .%-30s: %ld\n", "load", cfs_rq->load.weight); 138 SEQ_printf(m, " .%-30s: %ld\n", "load", cfs_rq->load.weight);
139#ifdef CONFIG_SCHEDSTATS
139 SEQ_printf(m, " .%-30s: %ld\n", "bkl_cnt", 140 SEQ_printf(m, " .%-30s: %ld\n", "bkl_cnt",
140 rq->bkl_cnt); 141 rq->bkl_cnt);
142#endif
141} 143}
142 144
143static void print_cpu(struct seq_file *m, int cpu) 145static void print_cpu(struct seq_file *m, int cpu)