From: Kienan Stewart Date: Fri, 8 Mar 2024 17:47:06 +0000 (-0500) Subject: Fix: Correct minimum version in jbd2 SLE kernel range X-Git-Tag: v2.12.16~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1efb917a94b34e724a061668f3d722bfcde640c5;p=lttng-modules.git Fix: Correct minimum version in jbd2 SLE kernel range 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 Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/jbd2.h b/instrumentation/events/lttng-module/jbd2.h index cfc8403f..99cadff0 100644 --- a/instrumentation/events/lttng-module/jbd2.h +++ b/instrumentation/events/lttng-module/jbd2.h @@ -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,