X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fcompaction.h;fp=include%2Finstrumentation%2Fevents%2Fcompaction.h;h=7d0c2623fba1d4949aaa12a7af20c2d360e93659;hp=31d0a422e52418290403bd92fcc45b554c6a8f8c;hb=a9d49ac600f171e2289c8c409587bbcf2eec9f99;hpb=2da4de37de6382b4440737fdf4320e08a089afcd diff --git a/include/instrumentation/events/compaction.h b/include/instrumentation/events/compaction.h index 31d0a422..7d0c2623 100644 --- a/include/instrumentation/events/compaction.h +++ b/include/instrumentation/events/compaction.h @@ -54,7 +54,8 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(compaction_isolate_template, TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken) ) -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,18,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,18,0) || \ + LTTNG_RHEL_KERNEL_RANGE(5,14,0,163,0,0, 5,15,0,0,0,0)) LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages, compaction_migratepages,