diff options
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/sched.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h index 5ce795021851..9d316b22388c 100644 --- a/include/trace/events/sched.h +++ b/include/trace/events/sched.h | |||
@@ -355,23 +355,17 @@ DEFINE_EVENT(sched_stat_template, sched_stat_wait, | |||
355 | * Tracepoint for accounting sleep time (time the task is not runnable, | 355 | * Tracepoint for accounting sleep time (time the task is not runnable, |
356 | * including iowait, see below). | 356 | * including iowait, see below). |
357 | */ | 357 | */ |
358 | DEFINE_EVENT_PRINT(sched_stat_template, sched_stat_sleep, | 358 | DEFINE_EVENT(sched_stat_template, sched_stat_sleep, |
359 | TP_PROTO(struct task_struct *tsk, u64 delay), | 359 | TP_PROTO(struct task_struct *tsk, u64 delay), |
360 | TP_ARGS(tsk, delay), | 360 | TP_ARGS(tsk, delay)); |
361 | TP_printk("task: %s:%d sleep: %Lu [ns]", | ||
362 | __entry->comm, __entry->pid, | ||
363 | (unsigned long long)__entry->delay)); | ||
364 | 361 | ||
365 | /* | 362 | /* |
366 | * Tracepoint for accounting iowait time (time the task is not runnable | 363 | * Tracepoint for accounting iowait time (time the task is not runnable |
367 | * due to waiting on IO to complete). | 364 | * due to waiting on IO to complete). |
368 | */ | 365 | */ |
369 | DEFINE_EVENT_PRINT(sched_stat_template, sched_stat_iowait, | 366 | DEFINE_EVENT(sched_stat_template, sched_stat_iowait, |
370 | TP_PROTO(struct task_struct *tsk, u64 delay), | 367 | TP_PROTO(struct task_struct *tsk, u64 delay), |
371 | TP_ARGS(tsk, delay), | 368 | TP_ARGS(tsk, delay)); |
372 | TP_printk("task: %s:%d iowait: %Lu [ns]", | ||
373 | __entry->comm, __entry->pid, | ||
374 | (unsigned long long)__entry->delay)); | ||
375 | 369 | ||
376 | /* | 370 | /* |
377 | * Tracepoint for accounting runtime (time the task is executing | 371 | * Tracepoint for accounting runtime (time the task is executing |