Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3669a6b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: rt: print sched_rt_runtime during throttling"

parents c4b03962 a69e027f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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;