Fix: Update kmem event for Ubuntu's 3.16 kernel
[lttng-modules.git] / instrumentation / events / lttng-module / kmem.h
index bff5cc6b22c2eddc9ec5c41a5d975f82c3c43b53..fe354bc475026c74182e902b0d03ae40475714f8 100644 (file)
@@ -286,9 +286,12 @@ DEFINE_EVENT_PRINT(mm_page, mm_page_pcpu_drain,
                __entry->order, __entry->migratetype)
 )
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,2))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,2)      \
+       || LTTNG_KERNEL_RANGE(3,14,36, 3,15,0)          \
+       || LTTNG_UBUNTU_KERNEL_RANGE(3,13,0,50, 3,14,0,0)       \
+       || LTTNG_UBUNTU_KERNEL_RANGE(3,16,0,38, 3,17,0,0))
 
-LTTNG_TRACEPOINT_EVENT(mm_page_alloc_extfrag,
+TRACE_EVENT(mm_page_alloc_extfrag,
 
        TP_PROTO(struct page *page,
                int alloc_order, int fallback_order,
@@ -331,7 +334,7 @@ LTTNG_TRACEPOINT_EVENT(mm_page_alloc_extfrag,
 
 #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,30))
 
-LTTNG_TRACEPOINT_EVENT(mm_page_alloc_extfrag,
+TRACE_EVENT(mm_page_alloc_extfrag,
 
        TP_PROTO(struct page *page,
                int alloc_order, int fallback_order,
This page took 0.023417 seconds and 4 git commands to generate.