From 2faf92d746b79fed9205793897ee86f88e5daa94 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 24 May 2017 11:19:50 -0400 Subject: [PATCH] Fix: Add support for 4.9.27-rt18 kernel Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- instrumentation/events/lttng-module/sched.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/instrumentation/events/lttng-module/sched.h b/instrumentation/events/lttng-module/sched.h index e6c03a3f..568e9f68 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. -- 2.34.1