sched debug: BKL usage statistics, fix
[deliverable/linux.git] / kernel / sched_debug.c
index 823b63a3a3e1d30b2124f455babf8900d4e67b6d..b6d0a94d4120ef37952fc58997be579d41eea4e5 100644 (file)
@@ -136,8 +136,10 @@ void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
                        SPLIT_NS(spread0));
        SEQ_printf(m, "  .%-30s: %ld\n", "nr_running", cfs_rq->nr_running);
        SEQ_printf(m, "  .%-30s: %ld\n", "load", cfs_rq->load.weight);
+#ifdef CONFIG_SCHEDSTATS
        SEQ_printf(m, "  .%-30s: %ld\n", "bkl_cnt",
                        rq->bkl_cnt);
+#endif
 }
 
 static void print_cpu(struct seq_file *m, int cpu)
This page took 0.025666 seconds and 5 git commands to generate.