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

Commit 017373ff authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: protect SMP specific traces with CONFIG_SMP" into msm-4.9

parents e9b01850 49f575e2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1323,6 +1323,7 @@ TRACE_EVENT(sched_contrib_scale_f,
		  __entry->cpu_scale_factor)
);

#ifdef CONFIG_SMP
/*
 * Tracepoint for accounting sched averages for tasks.
 */
@@ -1582,6 +1583,7 @@ TRACE_EVENT(sched_overutilized,
	TP_printk("overutilized=%d",
		__entry->overutilized ? 1 : 0)
);
#endif

TRACE_EVENT(sched_get_nr_running_avg,