diff options
Diffstat (limited to 'kernel/sched/debug.c')
-rw-r--r-- | kernel/sched/debug.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c index 8baaf858d25c..a245c1fc6f0a 100644 --- a/kernel/sched/debug.c +++ b/kernel/sched/debug.c | |||
@@ -71,7 +71,7 @@ static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group | |||
71 | if (!se) { | 71 | if (!se) { |
72 | struct sched_avg *avg = &cpu_rq(cpu)->avg; | 72 | struct sched_avg *avg = &cpu_rq(cpu)->avg; |
73 | P(avg->runnable_avg_sum); | 73 | P(avg->runnable_avg_sum); |
74 | P(avg->runnable_avg_period); | 74 | P(avg->avg_period); |
75 | return; | 75 | return; |
76 | } | 76 | } |
77 | 77 | ||
@@ -94,8 +94,10 @@ static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group | |||
94 | P(se->load.weight); | 94 | P(se->load.weight); |
95 | #ifdef CONFIG_SMP | 95 | #ifdef CONFIG_SMP |
96 | P(se->avg.runnable_avg_sum); | 96 | P(se->avg.runnable_avg_sum); |
97 | P(se->avg.runnable_avg_period); | 97 | P(se->avg.running_avg_sum); |
98 | P(se->avg.avg_period); | ||
98 | P(se->avg.load_avg_contrib); | 99 | P(se->avg.load_avg_contrib); |
100 | P(se->avg.utilization_avg_contrib); | ||
99 | P(se->avg.decay_count); | 101 | P(se->avg.decay_count); |
100 | #endif | 102 | #endif |
101 | #undef PN | 103 | #undef PN |
@@ -214,6 +216,8 @@ void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq) | |||
214 | cfs_rq->runnable_load_avg); | 216 | cfs_rq->runnable_load_avg); |
215 | SEQ_printf(m, " .%-30s: %ld\n", "blocked_load_avg", | 217 | SEQ_printf(m, " .%-30s: %ld\n", "blocked_load_avg", |
216 | cfs_rq->blocked_load_avg); | 218 | cfs_rq->blocked_load_avg); |
219 | SEQ_printf(m, " .%-30s: %ld\n", "utilization_load_avg", | ||
220 | cfs_rq->utilization_load_avg); | ||
217 | #ifdef CONFIG_FAIR_GROUP_SCHED | 221 | #ifdef CONFIG_FAIR_GROUP_SCHED |
218 | SEQ_printf(m, " .%-30s: %ld\n", "tg_load_contrib", | 222 | SEQ_printf(m, " .%-30s: %ld\n", "tg_load_contrib", |
219 | cfs_rq->tg_load_contrib); | 223 | cfs_rq->tg_load_contrib); |
@@ -636,8 +640,10 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m) | |||
636 | P(se.load.weight); | 640 | P(se.load.weight); |
637 | #ifdef CONFIG_SMP | 641 | #ifdef CONFIG_SMP |
638 | P(se.avg.runnable_avg_sum); | 642 | P(se.avg.runnable_avg_sum); |
639 | P(se.avg.runnable_avg_period); | 643 | P(se.avg.running_avg_sum); |
644 | P(se.avg.avg_period); | ||
640 | P(se.avg.load_avg_contrib); | 645 | P(se.avg.load_avg_contrib); |
646 | P(se.avg.utilization_avg_contrib); | ||
641 | P(se.avg.decay_count); | 647 | P(se.avg.decay_count); |
642 | #endif | 648 | #endif |
643 | P(policy); | 649 | P(policy); |