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: Pavankumar Kondeti <pkondeti@codeaurora.org>
This commit is contained in:
Pavankumar Kondeti 2020-06-25 13:38:45 +05:30
commit 3f6caac55f

View file

@ -7063,9 +7063,9 @@ unlock:
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;