sched/fair: Fix issue with trace flag not being set properly
During scheduler boost the sched_task_load ftrace event might not log the correct flag value. Ensure that the flag is always initialized with the selected cluster information. Change-Id: Ia986d0fbc512c8e9ed1b5fb5b2ac4bc564cc4ba9 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
This commit is contained in:
parent
827d048300
commit
34418fc16e
1 changed files with 1 additions and 1 deletions
|
@ -3189,8 +3189,8 @@ retry:
|
|||
}
|
||||
}
|
||||
p->last_cpu_selected_ts = sched_ktime_clock();
|
||||
sbc_flag |= env.sbc_best_cluster_flag;
|
||||
out:
|
||||
sbc_flag |= env.sbc_best_cluster_flag;
|
||||
rcu_read_unlock();
|
||||
trace_sched_task_load(p, sched_boost(), env.reason, env.sync,
|
||||
env.need_idle, sbc_flag, target);
|
||||
|
|
Loading…
Add table
Reference in a new issue