mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
sched: rt: Add trace point for taskplacement
Add cpu util trace point in RT EAS task placement decisions to help debug RT taskplacement issues. Change-Id: Ib79484e1bef863a634507989fda577ca2f79020b Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
This commit is contained in:
parent
d8534164bb
commit
60302c43a6
1 changed files with 5 additions and 0 deletions
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include <linux/interrupt.h>
|
||||
|
||||
#include <trace/events/sched.h>
|
||||
|
||||
#include "walt.h"
|
||||
|
||||
int sched_rr_timeslice = RR_TIMESLICE;
|
||||
|
|
@ -1846,6 +1848,9 @@ retry:
|
|||
}
|
||||
|
||||
for_each_cpu_and(cpu, lowest_mask, sched_group_span(sg)) {
|
||||
|
||||
trace_sched_cpu_util(cpu);
|
||||
|
||||
if (cpu_isolated(cpu))
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue