X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fsched.h;h=cb5b5b2bb245615830fad98a8058e406b75b9903;hb=49447902967115fe5a07ee7a1df3d17fbf4b1ab8;hp=c68dd27f828570a878288f08c35429488ff7935b;hpb=673e9a0300912e68d516cf06e0553c11b28cddbf;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/sched.h b/instrumentation/events/lttng-module/sched.h index c68dd27f..cb5b5b2b 100644 --- a/instrumentation/events/lttng-module/sched.h +++ b/instrumentation/events/lttng-module/sched.h @@ -540,7 +540,9 @@ 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) || \ + LTTNG_RT_KERNEL_RANGE(4,11,5,1, 4,12,0,0)) /* * Tracepoint for showing priority inheritance modifying a tasks * priority.