]> Pileus Git - ~andy/linux/blobdiff - kernel/sched_debug.c
Merge branch 'for-2.6.33' of git://git.kernel.dk/linux-2.6-block
[~andy/linux] / kernel / sched_debug.c
index efb84409bc435dc3422eeb2cc820eb773855eb4d..6988cf08f705d3bbd7b8cd16a43fe70cd32b795e 100644 (file)
@@ -285,12 +285,16 @@ static void print_cpu(struct seq_file *m, int cpu)
 
 #ifdef CONFIG_SCHEDSTATS
 #define P(n) SEQ_printf(m, "  .%-30s: %d\n", #n, rq->n);
+#define P64(n) SEQ_printf(m, "  .%-30s: %Ld\n", #n, rq->n);
 
        P(yld_count);
 
        P(sched_switch);
        P(sched_count);
        P(sched_goidle);
+#ifdef CONFIG_SMP
+       P64(avg_idle);
+#endif
 
        P(ttwu_count);
        P(ttwu_local);