]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
lttng-modules: Upgrade 2.14.3 -> 2.14.4 to fix build issue on kernel 6.18
authorXiangyu Chen <xiangyu.chen@windriver.com>
Fri, 13 Mar 2026 06:40:43 +0000 (14:40 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Mar 2026 16:49:05 +0000 (16:49 +0000)
Add 0001-fix-adjust-range-in-btrfs-probe-for-v6.18.14.patch to
adjust Brtfs probe header for 6.18[1]

Change Log:
2026-02-09 LTTng modules 2.14.4
* fix: Manual conversion to use ->i_state accessors (v6.19)
* fix: btrfs: headers cleanup to remove unnecessary local includes (v6.19)
* Fix: Initialize syscall tables sorted entries
* Cleanup lttng-syscalls.h: Remove extern on function prototypes
* Make init_event_desc_enum_desc_sorted_entries public
* Update .gitreview for stable-2.14

Ref:
[1] https://git.lttng.org/?p=lttng-modules.git;a=commit;h=ca93dc3b05fcb22db5b653858a1b08002496d783

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/lttng-modules/0001-fix-adjust-range-in-btrfs-probe-for-v6.18.14.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/lttng-modules_2.14.4.bb [moved from meta/recipes-kernel/lttng/lttng-modules_2.14.3.bb with 89% similarity]

diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-fix-adjust-range-in-btrfs-probe-for-v6.18.14.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-fix-adjust-range-in-btrfs-probe-for-v6.18.14.patch
new file mode 100644 (file)
index 0000000..662a803
--- /dev/null
@@ -0,0 +1,36 @@
+From de7ca66c797ba0b3273a217a47c8fb791d896f7c Mon Sep 17 00:00:00 2001
+From: Michael Jeanson <mjeanson@efficios.com>
+Date: Fri, 27 Feb 2026 17:54:39 -0500
+Subject: [PATCH] fix: adjust range in btrfs probe for v6.18.14
+
+Upstream commit c5667f9c8eb9 ("btrfs: headers cleanup to remove
+unnecessary local includes") was backported in v6.18.14, adjust the
+range accordingly in the btrfs probe.
+
+Upstream-Status: Backport from commit ca93dc3b05fcb
+
+Change-Id: I51c5cb6345c6a1e1aa4e5e3cb9a4af2ec962ecb2
+Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
+Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
+---
+ include/instrumentation/events/btrfs.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/include/instrumentation/events/btrfs.h b/include/instrumentation/events/btrfs.h
+index feb4f40b..e87f0085 100644
+--- a/include/instrumentation/events/btrfs.h
++++ b/include/instrumentation/events/btrfs.h
+@@ -12,7 +12,8 @@
+ #include <linux/writeback.h>
+ #include <lttng/kernel-version.h>
+-#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,19,0))
++#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,19,0) || \
++      LTTNG_KERNEL_RANGE(6,18,14, 6,19,0))
+ #include <../fs/btrfs/ordered-data.h>
+ #endif
+-- 
+2.47.3
+
similarity index 89%
rename from meta/recipes-kernel/lttng/lttng-modules_2.14.3.bb
rename to meta/recipes-kernel/lttng/lttng-modules_2.14.4.bb
index 6a1bd6a27d378fb875f201309a92bf8908bdbea8..722b1ac5ddd07e9128b777cbf7eff53bb67d1ff4 100644 (file)
@@ -14,8 +14,9 @@ SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \
 
 # Use :append here so that the patch is applied also when using devupstream
 SRC_URI:append = " file://0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch \
+                   file://0001-fix-adjust-range-in-btrfs-probe-for-v6.18.14.patch \
                 "
-SRC_URI[sha256sum] = "35a1875ad96e8b4b6aa8729f59af350bfc788ba65c6856deaa84d33acc0f28c2"
+SRC_URI[sha256sum] = "63deefbc15d9ce7c43d858187533367b01dcb6e8469d6b69ccb757d6d3dbb0ad"
 
 export INSTALL_MOD_DIR = "kernel/lttng-modules"