Fix: timer instrumentation for RHEL 7.6
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 6 Dec 2018 16:31:51 +0000 (11:31 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 6 Dec 2018 16:42:47 +0000 (11:42 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/timer.h

index a007fd211ac2e800f60f089b6f9e09eac52f82e8..8703ea0b89b4c50405388d3944d4d67c1695e7e6 100644 (file)
@@ -45,7 +45,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
This page took 0.025259 seconds and 4 git commands to generate.