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:42:13 +0000 (11:42 -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 1a52caa7c15559b488752cd09b0fb001c3b0437f..32e6fafe726d1dd540b633764ecb2c8dcd5eccf8 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.030039 seconds and 4 git commands to generate.