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

Commit 9ec1a502 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: don't account latency of newly forking task"

parents 1447fbb9 8fc91316
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -862,7 +862,9 @@ DECLARE_EVENT_CLASS(sched_task_util,
		__entry->target_cpu		= target_cpu;
		__entry->ediff			= ediff;
		__entry->need_idle		= need_idle;
		__entry->latency		= sched_ktime_clock() - p->ravg.mark_start;
		__entry->latency		= p->ravg.mark_start ?
						  sched_ktime_clock() -
						  p->ravg.mark_start : 0;
	),

	TP_printk("comm=%s pid=%d task_cpu=%d task_util=%lu nominated_cpu=%d target_cpu=%d energy_diff=%d need_idle=%d latency=%llu",