From: Michael Jeanson Date: Wed, 24 May 2017 15:19:50 +0000 (-0400) Subject: Fix: Add support for 4.9.27-rt18 kernel X-Git-Tag: v2.10.0-rc2~5 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=0395b92c910e7467d04ec0f832ac98294b093806 Fix: Add support for 4.9.27-rt18 kernel Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/sched.h b/instrumentation/events/lttng-module/sched.h index c68dd27f..e6f36b11 100644 --- a/instrumentation/events/lttng-module/sched.h +++ b/instrumentation/events/lttng-module/sched.h @@ -540,7 +540,8 @@ LTTNG_TRACEPOINT_EVENT(sched_stat_runtime, ) #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0) || \ + LTTNG_RT_KERNEL_RANGE(4,9,27,18, 4,10,0,0)) /* * Tracepoint for showing priority inheritance modifying a tasks * priority.