X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fcompaction.h;h=b6e4620b0a4373daad973792a0c995d4e06f5bcf;hb=286a94365681be3a4b5f5136f59f69ce8bf325f9;hp=22024e9ee582856262ffcd52301182cc13744437;hpb=a23635a10afbf50754da3914c712cb2b346d9250;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/compaction.h b/instrumentation/events/lttng-module/compaction.h index 22024e9e..b6e4620b 100644 --- a/instrumentation/events/lttng-module/compaction.h +++ b/instrumentation/events/lttng-module/compaction.h @@ -46,7 +46,8 @@ DEFINE_EVENT(mm_compaction_isolate_template, mm_compaction_isolate_freepages, TP_ARGS(nr_scanned, nr_taken) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0)) +#if LTTNG_KERNEL_RANGE(3,14,25, 3,15,0) || \ + (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0)) TRACE_EVENT(mm_compaction_migratepages, TP_PROTO(unsigned long nr_all,