aboutsummaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h
index 7308931f88d7..e20c73238f42 100644
--- a/include/trace/events/sched.h
+++ b/include/trace/events/sched.h
@@ -551,6 +551,7 @@ TRACE_EVENT(sched_wake_idle_without_ipi,
TP_printk("cpu=%d", __entry->cpu)
);
+#ifdef CONFIG_SMP
TRACE_EVENT(sched_contrib_scale_f,
TP_PROTO(int cpu, unsigned long freq_scale_factor,
@@ -639,6 +640,7 @@ TRACE_EVENT(sched_load_avg_cpu,
TP_printk("cpu=%d load=%lu utilization=%lu",
__entry->cpu, __entry->load, __entry->utilization)
);
+#endif /* CONFIG_SMP */
/*
* Tracepoint for sched_tune_config settings