Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25ff0ae4 authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar
Browse files

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: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 4bd3d726
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -9,6 +9,8 @@

#include <linux/interrupt.h>

#include <trace/events/sched.h>

#include "walt.h"

int sched_rr_timeslice = RR_TIMESLICE;
@@ -1795,6 +1797,9 @@ static int rt_energy_aware_wake_cpu(struct task_struct *task)
		}

		for_each_cpu_and(cpu, lowest_mask, sched_group_span(sg)) {

			trace_sched_cpu_util(cpu);

			if (cpu_isolated(cpu))
				continue;