|
@@ -330,6 +330,13 @@ DEFINE_EVENT(sched_stat_template, sched_stat_iowait,
|
|
|
TP_PROTO(struct task_struct *tsk, u64 delay),
|
|
|
TP_ARGS(tsk, delay));
|
|
|
|
|
|
+/*
|
|
|
+ * Tracepoint for accounting blocked time (time the task is in uninterruptible).
|
|
|
+ */
|
|
|
+DEFINE_EVENT(sched_stat_template, sched_stat_blocked,
|
|
|
+ TP_PROTO(struct task_struct *tsk, u64 delay),
|
|
|
+ TP_ARGS(tsk, delay));
|
|
|
+
|
|
|
/*
|
|
|
* Tracepoint for accounting runtime (time the task is executing
|
|
|
* on a CPU).
|