Fix: Build on CentOS 9 Stream 2024-06
[lttng-modules.git] / include / instrumentation / events / sched.h
index 5f994759d20350af13fcfeb088bce3be4727ff82..13c15ce10425d81f4fa1bb91de629a64b8e5deae 100644 (file)
@@ -484,7 +484,8 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE(sched_stat_template, sched_stat_blocked,
             TP_PROTO(struct task_struct *tsk, u64 delay),
             TP_ARGS(tsk, delay))
 
-#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,8,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,8,0) || \
+       LTTNG_RHEL_KERNEL_RANGE(5,14,0,452,0,0, 5,15,0,0,0,0))
 /*
  * Tracepoint for accounting runtime (time the task is executing
  * on a CPU).
This page took 0.035983 seconds and 4 git commands to generate.