From mboxrd@z Thu Jan 1 00:00:00 1970 From: mjeanson@efficios.com (Michael Jeanson) Date: Wed, 24 May 2017 11:39:51 -0400 Subject: [lttng-dev] [PATCH lttng-modules] Fix: Add support for 4.9.27-rt18 kernel In-Reply-To: <1495639190-29926-1-git-send-email-mjeanson@efficios.com> References: <1495639190-29926-1-git-send-email-mjeanson@efficios.com> Message-ID: <5341e6a6-3591-7164-1074-51cc1bca1111@efficios.com> On 2017-05-24 11:19, Michael Jeanson wrote: > Signed-off-by: Michael Jeanson > --- > 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 c68dd27..e6f36b1 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. > It applies on top of "Fix: update sched instrumentation for kernel 4.12" Michael