Fix: Incorrect Ubuntu kernel patchlevel
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 15 Jun 2015 16:28:25 +0000 (12:28 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 15 Jun 2015 16:30:41 +0000 (12:30 -0400)
The kernel version used should be the one in Makefile and generated
version.h, not the one tweaked by Ubuntu as "0" in the built package.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-statedump-impl.c

index 2d567b3f064b4f71cc913394e81b10910df4bd59..f8613525f06cbe738c4870af8d0a7a27de7c9442 100644 (file)
@@ -401,7 +401,7 @@ void lttng_statedump_process_ns(struct lttng_session *session,
         */
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) || \
                LTTNG_UBUNTU_KERNEL_RANGE(3,13,11,36, 3,14,0,0) || \
-               LTTNG_UBUNTU_KERNEL_RANGE(3,16,0,11, 3,17,0,0))
+               LTTNG_UBUNTU_KERNEL_RANGE(3,16,1,11, 3,17,0,0))
        proxy = p->nsproxy;
 #else
        rcu_read_lock();
@@ -420,7 +420,7 @@ void lttng_statedump_process_ns(struct lttng_session *session,
        }
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) || \
                LTTNG_UBUNTU_KERNEL_RANGE(3,13,11,36, 3,14,0,0) || \
-               LTTNG_UBUNTU_KERNEL_RANGE(3,16,0,11, 3,17,0,0))
+               LTTNG_UBUNTU_KERNEL_RANGE(3,16,1,11, 3,17,0,0))
        /* (nothing) */
 #else
        rcu_read_unlock();
This page took 0.026203 seconds and 4 git commands to generate.