From: Michael Jeanson Date: Thu, 6 Dec 2018 16:31:51 +0000 (-0500) Subject: Fix: timer instrumentation for RHEL 7.6 X-Git-Tag: v2.9.12~7 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a8983fa18e8a307137b6f24a3092bae2491a02e9;p=lttng-modules.git Fix: timer instrumentation for RHEL 7.6 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/timer.h b/instrumentation/events/lttng-module/timer.h index 6f0cb7f3..8807ad51 100644 --- a/instrumentation/events/lttng-module/timer.h +++ b/instrumentation/events/lttng-module/timer.h @@ -44,7 +44,8 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE(timer_class, timer_init, TP_ARGS(timer) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0) || \ + LTTNG_RHEL_KERNEL_RANGE(3,10,0,957,0,0, 3,11,0,0,0,0)) /** * timer_start - called when the timer is started * @timer: pointer to struct timer_list