sched: trace : Print current sched domain overutilization status

Extend sched_load_balance trace event to print overutilization
status of the current balancing sched domain.

Change-Id: Iae14e580294a0ab38394b4e8d660d0c5dd14327d
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
This commit is contained in:
Lingutla Chandrasekhar 2019-04-25 17:02:46 +05:30 • committed by Gerrit - the friendly Code Review server
commit de151d637f
2 changed files with 14 additions and 5 deletions

View file

@ -10253,7 +10253,12 @@ out:
group ? group->cpumask[0] : 0,
busiest ? busiest->nr_running : 0,
env.imbalance, env.flags, ld_moved,
sd->balance_interval, active_balance);
sd->balance_interval, active_balance,
#ifdef CONFIG_SCHED_WALT
sd_overutilized(sd));
#else
READ_ONCE(this_rq->rd->overutilized));
#endif
return ld_moved;
}