Fix: mm_page_alloc_extfrag instrumentation for kernel 3.16.35
[deliverable/lttng-modules.git] / instrumentation / events / lttng-module / kmem.h
index cce8da40ecb0bb5cbc86c98c8acf0642955d5bcf..ad7bf77ebdecaed94432e495f067544cfac719de 100644 (file)
@@ -4,12 +4,9 @@
 #if !defined(LTTNG_TRACE_KMEM_H) || defined(TRACE_HEADER_MULTI_READ)
 #define LTTNG_TRACE_KMEM_H
 
-#include "../../../probes/lttng-tracepoint-event.h"
+#include <probes/lttng-tracepoint-event.h>
 #include <linux/types.h>
 #include <linux/version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
-#include <trace/events/gfpflags.h>
-#endif
 
 LTTNG_TRACEPOINT_EVENT_CLASS(kmem_alloc,
 
@@ -208,6 +205,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(kmem_mm_page, mm_page_pcpu_drain,
 
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,2)      \
        || LTTNG_KERNEL_RANGE(3,14,36, 3,15,0)          \
+       || LTTNG_KERNEL_RANGE(3,16,35, 3,17,0)          \
        || LTTNG_KERNEL_RANGE(3,18,10, 3,19,0)          \
        || LTTNG_DEBIAN_KERNEL_RANGE(3,16,7,9,0,0, 3,17,0,0,0,0)        \
        || LTTNG_UBUNTU_KERNEL_RANGE(3,13,11,50, 3,14,0,0)      \
@@ -320,4 +318,4 @@ LTTNG_TRACEPOINT_EVENT_MAP(mm_page_alloc_extfrag,
 #endif /* LTTNG_TRACE_KMEM_H */
 
 /* This part must be outside protection */
-#include "../../../probes/define_trace.h"
+#include <probes/define_trace.h>
This page took 0.023683 seconds and 5 git commands to generate.