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

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

Merge "sched: bring back sched_migrate_task trace point"

parents 4d1b8e05 25532bf0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1283,6 +1283,8 @@ void set_task_cpu(struct task_struct *p, unsigned int new_cpu)
#endif
#endif

	trace_sched_migrate_task(p, new_cpu, task_util(p));

	if (task_cpu(p) != new_cpu) {
		if (p->sched_class->migrate_task_rq)
			p->sched_class->migrate_task_rq(p);