-#else /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,3,0)) */
-LTTNG_TRACEPOINT_EVENT_CLASS(sched_wakeup_template,
-
- TP_PROTO(struct task_struct *p, int success),
-
- TP_ARGS(p, success),
-
- TP_FIELDS(
- ctf_array_text(char, comm, p->comm, TASK_COMM_LEN)
- ctf_integer(pid_t, tid, p->pid)
- ctf_integer(int, prio, p->prio - MAX_RT_PRIO)
- ctf_integer(int, success, success)
- ctf_integer(int, target_cpu, task_cpu(p))
- )
-)
-#endif /* #else #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,3,0)) */
-
-#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,3,0) || \
- LTTNG_RT_KERNEL_RANGE(4,1,10,11, 4,2,0,0) || \
- LTTNG_RT_KERNEL_RANGE(3,18,27,26, 3,19,0,0) || \
- LTTNG_RT_KERNEL_RANGE(3,14,61,63, 3,15,0,0) || \
- LTTNG_RT_KERNEL_RANGE(3,12,54,73, 3,13,0,0) || \
- LTTNG_RT_KERNEL_RANGE(3,10,97,106, 3,11,0,0) || \
- LTTNG_RT_KERNEL_RANGE(3,4,110,139, 3,5,0,0) || \
- LTTNG_RT_KERNEL_RANGE(3,2,77,111, 3,3,0,0))