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:
Lingutla Chandrasekhar 2020-08-06 11:58:13 +05:30 • committed by Gerrit - the friendly Code Review server
commit 60302c43a6

View file

@ -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;