diff options
Diffstat (limited to 'include/trace/events/sched.h')
-rw-r--r-- | include/trace/events/sched.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h index 238f74b58486..5ce795021851 100644 --- a/include/trace/events/sched.h +++ b/include/trace/events/sched.h | |||
@@ -83,7 +83,7 @@ TRACE_EVENT(sched_wait_task, | |||
83 | * (NOTE: the 'rq' argument is not used by generic trace events, | 83 | * (NOTE: the 'rq' argument is not used by generic trace events, |
84 | * but used by the latency tracer plugin. ) | 84 | * but used by the latency tracer plugin. ) |
85 | */ | 85 | */ |
86 | TRACE_EVENT_TEMPLATE(sched_wakeup_template, | 86 | DECLARE_EVENT_CLASS(sched_wakeup_template, |
87 | 87 | ||
88 | TP_PROTO(struct rq *rq, struct task_struct *p, int success), | 88 | TP_PROTO(struct rq *rq, struct task_struct *p, int success), |
89 | 89 | ||
@@ -197,7 +197,7 @@ TRACE_EVENT(sched_migrate_task, | |||
197 | __entry->orig_cpu, __entry->dest_cpu) | 197 | __entry->orig_cpu, __entry->dest_cpu) |
198 | ); | 198 | ); |
199 | 199 | ||
200 | TRACE_EVENT_TEMPLATE(sched_process_template, | 200 | DECLARE_EVENT_CLASS(sched_process_template, |
201 | 201 | ||
202 | TP_PROTO(struct task_struct *p), | 202 | TP_PROTO(struct task_struct *p), |
203 | 203 | ||
@@ -316,7 +316,7 @@ TRACE_EVENT(sched_signal_send, | |||
316 | * XXX the below sched_stat tracepoints only apply to SCHED_OTHER/BATCH/IDLE | 316 | * XXX the below sched_stat tracepoints only apply to SCHED_OTHER/BATCH/IDLE |
317 | * adding sched_stat support to SCHED_FIFO/RR would be welcome. | 317 | * adding sched_stat support to SCHED_FIFO/RR would be welcome. |
318 | */ | 318 | */ |
319 | TRACE_EVENT_TEMPLATE(sched_stat_template, | 319 | DECLARE_EVENT_CLASS(sched_stat_template, |
320 | 320 | ||
321 | TP_PROTO(struct task_struct *tsk, u64 delay), | 321 | TP_PROTO(struct task_struct *tsk, u64 delay), |
322 | 322 | ||