sched: rt: print sched_rt_runtime during throttling

Print the rt_runtime allowed for a given rt_rq in throttling debug
message dump. This helps in catching suboptimal RT runtime tuning
issues.

Change-Id: I58027cb94500cf93eb42b44dcec9a5e68670b5e9
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
This commit is contained in:
Pavankumar Kondeti 2020-04-27 09:00:38 +05:30 • committed by Gerrit - the friendly Code Review server
commit a69e027fa5

View file

@ -967,9 +967,10 @@ static void dump_throttled_rt_tasks(struct rt_rq *rt_rq)
rt_rq, cpu_of(rq_of_rt_rq(rt_rq)));
pos += snprintf(pos, end - pos,
"rt_period_timer: expires=%lld now=%llu period=%llu\n",
"rt_period_timer: expires=%lld now=%llu runtime=%llu period=%llu\n",
hrtimer_get_expires_ns(&rt_b->rt_period_timer),
ktime_get_ns(), sched_rt_period(rt_rq));
ktime_get_ns(), sched_rt_runtime(rt_rq),
sched_rt_period(rt_rq));
if (bitmap_empty(array->bitmap, MAX_RT_PRIO))
goto out;