aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_debug.c')
-rw-r--r--kernel/sched_debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 9e5de098d471..4b5e24cf2f4a 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -300,6 +300,8 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m)
300 PN(se.exec_max); 300 PN(se.exec_max);
301 PN(se.slice_max); 301 PN(se.slice_max);
302 PN(se.wait_max); 302 PN(se.wait_max);
303 PN(se.wait_sum);
304 P(se.wait_count);
303 P(sched_info.bkl_count); 305 P(sched_info.bkl_count);
304 P(se.nr_migrations); 306 P(se.nr_migrations);
305 P(se.nr_migrations_cold); 307 P(se.nr_migrations_cold);
@@ -367,6 +369,8 @@ void proc_sched_set_task(struct task_struct *p)
367{ 369{
368#ifdef CONFIG_SCHEDSTATS 370#ifdef CONFIG_SCHEDSTATS
369 p->se.wait_max = 0; 371 p->se.wait_max = 0;
372 p->se.wait_sum = 0;
373 p->se.wait_count = 0;
370 p->se.sleep_max = 0; 374 p->se.sleep_max = 0;
371 p->se.sum_sleep_runtime = 0; 375 p->se.sum_sleep_runtime = 0;
372 p->se.block_max = 0; 376 p->se.block_max = 0;