diff options
author | Steve Muckle <smuckle@codeaurora.org> | 2014-11-13 22:04:22 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:01:10 -0700 |
commit | 6bde9f65b3cc676647e3d1b8285ab1e7b0d32763 (patch) | |
tree | 49723736e6ea8f569904ce38638cc9be52c1396e /kernel/sched/rt.c | |
parent | d3abb1dd6b3e077782117dbb2384cc256c03e390 (diff) |
sched: trace: extend sched_cpu_load to print irqload
The irqload is used in determining whether CPUs are mostly idle
so it is useful to know this value while viewing scheduler traces.
Change-Id: Icbb74fc1285be878f254ae54886bdb161b14a270
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Diffstat (limited to 'kernel/sched/rt.c')
-rw-r--r-- | kernel/sched/rt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index a9c347291f5e..3d4da64c91f6 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c @@ -1657,8 +1657,8 @@ static int find_lowest_rq_hmp(struct task_struct *task) for_each_cpu(i, lowest_mask) { struct rq *rq = cpu_rq(i); cpu_cost = power_cost_at_freq(i, ACCESS_ONCE(rq->min_freq)); - trace_sched_cpu_load(rq, idle_cpu(i), - mostly_idle_cpu(i), cpu_cost); + trace_sched_cpu_load(rq, idle_cpu(i), mostly_idle_cpu(i), + sched_irqload(i), cpu_cost); if (sched_boost() && capacity(rq) != max_capacity) continue; |