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

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

Merge "sched: Improve the scheduler"

parents 36134348 88922f23
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1228,6 +1228,7 @@ TRACE_EVENT(sched_task_util,
		__field(int,		rtg_cpu)
		__field(u64,		latency)
		__field(bool,		stune_boosted)
		__field(bool,		is_rtg)
	),

	TP_fast_assign(
@@ -1243,13 +1244,14 @@ TRACE_EVENT(sched_task_util,
		__entry->rtg_cpu                = rtg_cpu;
		__entry->latency                = (sched_clock() - start_t);
		__entry->stune_boosted          = stune_boosted;
		__entry->is_rtg                 = task_in_related_thread_group(p);
	),

	TP_printk("pid=%d comm=%s util=%lu prev_cpu=%d best_energy_cpu=%d sync=%d need_idle=%d fastpath=%d placement_boost=%d rtg_cpu=%d latency=%llu stune_boosted=%d",
	TP_printk("pid=%d comm=%s util=%lu prev_cpu=%d best_energy_cpu=%d sync=%d need_idle=%d fastpath=%d placement_boost=%d rtg_cpu=%d latency=%llu stune_boosted=%d is_rtg=%d",
		__entry->pid, __entry->comm, __entry->util, __entry->prev_cpu,
		__entry->best_energy_cpu, __entry->sync, __entry->need_idle,
		__entry->fastpath, __entry->placement_boost, __entry->rtg_cpu,
		__entry->latency, __entry->stune_boosted)
		__entry->latency, __entry->stune_boosted, __entry->is_rtg)
)

/*