X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Ftimer.h;h=91a2cd936b3f1a0c3b0b384abbb75815dc9e8bdf;hp=62d307d5d06e8fed3bdd54d5b9d3492e1288b3fd;hb=05355f0bf8b4292ab7b8dc93571a568833b0a3c2;hpb=2eb43df613157244ac7b391f77d81d8149f919b8 diff --git a/include/instrumentation/events/timer.h b/include/instrumentation/events/timer.h index 62d307d5..91a2cd93 100644 --- a/include/instrumentation/events/timer.h +++ b/include/instrumentation/events/timer.h @@ -89,7 +89,8 @@ LTTNG_TRACEPOINT_EVENT(timer_start, ) #endif /* #else #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,2,0)) */ -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,2,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,2,0) || \ + LTTNG_RHEL_KERNEL_RANGE(4,18,0,193,0,0, 4,19,0,0,0,0)) /** * timer_expire_entry - called immediately before the timer callback * @timer: pointer to struct timer_list