Fix: Update kmem event for Ubuntu's 3.16 kernel
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 26 May 2015 20:12:00 +0000 (16:12 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 29 Jul 2015 19:19:28 +0000 (15:19 -0400)
The upstream patch in question in commit 72906e1 was cherry-picked into
Ubuntu's 3.16 kernel backport branch (called lts-utopic). The version
check should also include this branch.

The other backport branch, lts-vivid, and all following ones will be
covered by the standard

  LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,2)

check, so should not require other workarounds.

References #889.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/kmem.h

index 049289eae3d695111c0ca2212040473569ed6a08..fe354bc475026c74182e902b0d03ae40475714f8 100644 (file)
@@ -288,7 +288,8 @@ DEFINE_EVENT_PRINT(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_UBUNTU_KERNEL_RANGE(3,13,0,50, 3,14,0,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))
 
 TRACE_EVENT(mm_page_alloc_extfrag,
 
This page took 0.026291 seconds and 4 git commands to generate.