mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
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:
parent
114be2591f
commit
a69e027fa5
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue