mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
sched: debug: fix sum_exec_runtime clearing
when cleaning sched-stats also clear prev_sum_exec_runtime. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
a206c07213
commit
2491b2b89d
1 changed files with 1 additions and 0 deletions
|
@ -283,4 +283,5 @@ void proc_sched_set_task(struct task_struct *p)
|
||||||
p->se.wait_runtime_overruns = p->se.wait_runtime_underruns = 0;
|
p->se.wait_runtime_overruns = p->se.wait_runtime_underruns = 0;
|
||||||
#endif
|
#endif
|
||||||
p->se.sum_exec_runtime = 0;
|
p->se.sum_exec_runtime = 0;
|
||||||
|
p->se.prev_sum_exec_runtime = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue