-#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0)) */
-LTTNG_TRACEPOINT_EVENT_CLASS(sched_wakeup_template,
-
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35))
- TP_PROTO(struct task_struct *p, int success),
-
- TP_ARGS(p, success),
-#else
- TP_PROTO(struct rq *rq, struct task_struct *p, int success),
-
- TP_ARGS(rq, p, success),
-#endif
-
- 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)
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
- ctf_integer(int, target_cpu, task_cpu(p))
-#endif
- )
-)
-#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0)) */
-
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0) || \
- LTTNG_RT_KERNEL_RANGE(4,1,10,11, 4,2,0,0))