From: David Engraf Date: Wed, 17 Dec 2014 15:17:31 +0000 (-0500) Subject: Conditional compilation introduced by lttng-modules commit X-Git-Tag: v2.4.4~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=180b516533d695812b1cfa0280c78ff7c41b260c;p=lttng-modules.git Conditional compilation introduced by lttng-modules commit 0007344741ef65259bc52dea72259173dfbf96c0 needs to be applied for kernels 3.12.30 and up in the 3.12.x branch. Signed-off-by: David Engraf Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/compaction.h b/instrumentation/events/lttng-module/compaction.h index b6e4620b..2f18447b 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 LTTNG_KERNEL_RANGE(3,14,25, 3,15,0) || \ +#if LTTNG_KERNEL_RANGE(3,12,30, 3,13,0) || \ + LTTNG_KERNEL_RANGE(3,14,25, 3,15,0) || \ (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0)) TRACE_EVENT(mm_compaction_migratepages,