fix: mm: compaction: cleanup the compaction trace events (v5.18)
[lttng-modules.git] / src / probes / lttng-probe-compaction.c
index f8ddf384ed2aaccc3f70d4a4d44b479fa421c357..ffaf45f025baf94aef37d8ef8186d00cdf90d5ef 100644 (file)
 
 #include <linux/module.h>
 #include <lttng/tracer.h>
+#include <lttng/kernel-version.h>
+
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,18,0))
+#include "../mm/internal.h"
+#endif
 
 /*
  * Create the tracepoint static inlines from the kernel to validate that our
This page took 0.023405 seconds and 4 git commands to generate.