|
@@ -6748,6 +6748,16 @@ static int cpu_cfs_stat_show(struct seq_file *sf, void *v)
|
|
seq_printf(sf, "nr_throttled %d\n", cfs_b->nr_throttled);
|
|
seq_printf(sf, "nr_throttled %d\n", cfs_b->nr_throttled);
|
|
seq_printf(sf, "throttled_time %llu\n", cfs_b->throttled_time);
|
|
seq_printf(sf, "throttled_time %llu\n", cfs_b->throttled_time);
|
|
|
|
|
|
|
|
+ if (schedstat_enabled() && tg != &root_task_group) {
|
|
|
|
+ u64 ws = 0;
|
|
|
|
+ int i;
|
|
|
|
+
|
|
|
|
+ for_each_possible_cpu(i)
|
|
|
|
+ ws += schedstat_val(tg->se[i]->statistics.wait_sum);
|
|
|
|
+
|
|
|
|
+ seq_printf(sf, "wait_sum %llu\n", ws);
|
|
|
|
+ }
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
#endif /* CONFIG_CFS_BANDWIDTH */
|
|
#endif /* CONFIG_CFS_BANDWIDTH */
|