Fix: Correct minimum version in jbd2 SLE kernel range
authorKienan Stewart <kstewart@efficios.com>
Fri, 8 Mar 2024 17:47:06 +0000 (12:47 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 15 Mar 2024 15:38:11 +0000 (11:38 -0400)
This range was introduced in commit b49650509ff072d37ec112cf45a5f14f382c9a31;
however, the range is wrong and worked because the kernel versions
(eg. `5.14.21-150400.24.100-default`) were evaluated to values
greater than `LTTNG_SLE_KERNEL_RANGE(5,14,21,24,46,1)`.

As a result builds of lttng-modules against older versions of SLE
kernels failed.

Change-Id: I23d97d84a23c7b24e957fe943932d6aefbe1b409
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/instrumentation/events/jbd2.h

index 409e074b0e52af8685f9b02a38daeeb12ec35a5e..81ca8afcb05ce66a2fe896fe27c87c6fe31c988e 100644 (file)
@@ -147,7 +147,7 @@ LTTNG_TRACEPOINT_EVENT(jbd2_submit_inode_data,
        || LTTNG_KERNEL_RANGE(5,15,87, 5,16,0) \
        || LTTNG_KERNEL_RANGE(6,0,18, 6,1,0) \
        || LTTNG_KERNEL_RANGE(6,1,4, 6,2,0) \
-       || LTTNG_SLE_KERNEL_RANGE(5,14,21,24,46,1, 5,15,0,0,0,0) \
+       || LTTNG_SLE_KERNEL_RANGE(5,14,21,150400,24,46, 5,15,0,0,0,0) \
        || LTTNG_UBUNTU_KERNEL_RANGE(5,19,17,42, 5,19,18,0) \
        || LTTNG_UBUNTU_KERNEL_RANGE(5,19,7,1024, 5,19,8,0))
 LTTNG_TRACEPOINT_EVENT(jbd2_run_stats,
This page took 0.025559 seconds and 4 git commands to generate.