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

Commit 3f6caac5 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched/fair: Fix need_idle argument in sched_task_util trace point



fbt_env.need_idle (int type) must be passed instead of
need_idle (bool) to sched_task_util trace point to record
the prefer_spread based idle wakeups.

Change-Id: I8e5a46764d288a325c4469e402f79ea2b4f7fb20
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent a25b0313
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -7063,9 +7063,9 @@ int find_energy_efficient_cpu(struct task_struct *p, int prev_cpu,

done:
	trace_sched_task_util(p, cpumask_bits(candidates)[0], best_energy_cpu,
			sync, need_idle, fbt_env.fastpath, task_boost_policy(p),
			start_t, boosted, is_rtg, walt_get_rtg_status(p),
			start_cpu);
			sync, fbt_env.need_idle, fbt_env.fastpath,
			task_boost_policy(p), start_t, boosted, is_rtg,
			walt_get_rtg_status(p), start_cpu);

	return best_energy_cpu;