summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiddharth Doshi <sdoshi@mvista.com>2024-08-02 18:47:30 +0530
committerSteve Sakoman <steve@sakoman.com>2024-08-08 09:03:46 -0700
commitbba60774f74f8c05b8fdd609e8cdc40afd59c6a8 (patch)
treebd49950c6e5538b864b3dff89d6cb7b1a5300788
parente932b53647489eee9f6d7b4f7caedd702d45223b (diff)
downloadpoky-bba60774f74f8c05b8fdd609e8cdc40afd59c6a8.tar.gz
lttng-modules: Upgrade 2.13.9 -> 2.13.14
License-Update: Upstream cleaned stale file paths in License file and updated LICENSES/LGPL-2.1 and LICENSES/GPL-2.0 -> LICENSES/LGPL-2.1-only.txt and LICENSES/GPL-2.0-only.txt causing md5 to change. (ref commit -> https://github.com/lttng/lttng-modules/commit/b972ef5708a00718a081f0eb40205e25677e5e93 and https://github.com/lttng/lttng-modules/commit/61baff6e8de2462f45006662bc34bcbf5f645ba0#diff-c693279643b8cd5d248172d9c22cb7cf4ed163a3c98c8a3f69c2717edd3eacb7) Note: Upgrade lttng-modules to 2.13.14 to fix fcheck error which occurs with commit 782202de6478f68caaed4567017095ad906c4eef in kernel "file: Rename fcheck lookup_fd_rcu" which does replaces fcheck with lookup_fd_rcu. (From OE-Core rev: 2721f84ba755ceea5780e44feb0713ad8c4d0217) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Siddharth Doshi <sdoshi@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules/0009-Rename-genhd-wrapper-to-blkdev.patch19
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules_2.13.14.bb (renamed from meta/recipes-kernel/lttng/lttng-modules_2.13.9.bb)4
2 files changed, 13 insertions, 10 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules/0009-Rename-genhd-wrapper-to-blkdev.patch b/meta/recipes-kernel/lttng/lttng-modules/0009-Rename-genhd-wrapper-to-blkdev.patch
index 90fec9dc58..874e076675 100644
--- a/meta/recipes-kernel/lttng/lttng-modules/0009-Rename-genhd-wrapper-to-blkdev.patch
+++ b/meta/recipes-kernel/lttng/lttng-modules/0009-Rename-genhd-wrapper-to-blkdev.patch
@@ -8,9 +8,12 @@ to follow upstream.
8 8
9Upstream-Status: Backport 9Upstream-Status: Backport
10 10
11Note: Updated patch to cleanly apply to 2.13.14
12
11Change-Id: I4ec94fb94d11712dd20f0680aea1de77fbfa9d17 13Change-Id: I4ec94fb94d11712dd20f0680aea1de77fbfa9d17
12Signed-off-by: Michael Jeanson <mjeanson@efficios.com> 14Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> 15Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
16Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
14--- 17---
15 include/wrapper/{genhd.h => blkdev.h} | 10 +++++----- 18 include/wrapper/{genhd.h => blkdev.h} | 10 +++++-----
16 src/lttng-statedump-impl.c | 2 +- 19 src/lttng-statedump-impl.c | 2 +-
@@ -21,7 +24,7 @@ diff --git a/include/wrapper/genhd.h b/include/wrapper/blkdev.h
21similarity index 93% 24similarity index 93%
22rename from include/wrapper/genhd.h 25rename from include/wrapper/genhd.h
23rename to include/wrapper/blkdev.h 26rename to include/wrapper/blkdev.h
24index 4a59b68e..0d5ad90f 100644 27index e32c7b6..76397f6 100644
25--- a/include/wrapper/genhd.h 28--- a/include/wrapper/genhd.h
26+++ b/include/wrapper/blkdev.h 29+++ b/include/wrapper/blkdev.h
27@@ -1,6 +1,6 @@ 30@@ -1,6 +1,6 @@
@@ -41,9 +44,9 @@ index 4a59b68e..0d5ad90f 100644
41+#ifndef _LTTNG_WRAPPER_BLKDEV_H 44+#ifndef _LTTNG_WRAPPER_BLKDEV_H
42+#define _LTTNG_WRAPPER_BLKDEV_H 45+#define _LTTNG_WRAPPER_BLKDEV_H
43 46
44 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,18,0)) 47 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,18,0) \
45 #include <linux/blkdev.h> 48 || LTTNG_RHEL_KERNEL_RANGE(5,14,0,162,0,0, 5,15,0,0,0,0))
46@@ -45,7 +45,7 @@ struct class *wrapper_get_block_class(void) 49@@ -47,7 +47,7 @@ struct class *wrapper_get_block_class(void)
47 /* 50 /*
48 * Canary function to check for 'block_class' at compile time. 51 * Canary function to check for 'block_class' at compile time.
49 * 52 *
@@ -52,17 +55,17 @@ index 4a59b68e..0d5ad90f 100644
52 * 55 *
53 * extern struct class block_class; 56 * extern struct class block_class;
54 */ 57 */
55@@ -104,4 +104,4 @@ struct device_type *wrapper_get_disk_type(void) 58@@ -106,4 +106,4 @@ struct device_type *wrapper_get_disk_type(void)
56 59
57 #endif 60 #endif
58 61
59-#endif /* _LTTNG_WRAPPER_GENHD_H */ 62-#endif /* _LTTNG_WRAPPER_GENHD_H */
60+#endif /* _LTTNG_WRAPPER_BLKDEV_H */ 63+#endif /* _LTTNG_WRAPPER_BLKDEV_H */
61diff --git a/src/lttng-statedump-impl.c b/src/lttng-statedump-impl.c 64diff --git a/src/lttng-statedump-impl.c b/src/lttng-statedump-impl.c
62index 4d7b2921..0e753090 100644 65index 9d197ce..229517e 100644
63--- a/src/lttng-statedump-impl.c 66--- a/src/lttng-statedump-impl.c
64+++ b/src/lttng-statedump-impl.c 67+++ b/src/lttng-statedump-impl.c
65@@ -41,7 +41,7 @@ 68@@ -42,7 +42,7 @@
66 #include <wrapper/namespace.h> 69 #include <wrapper/namespace.h>
67 #include <wrapper/irq.h> 70 #include <wrapper/irq.h>
68 #include <wrapper/tracepoint.h> 71 #include <wrapper/tracepoint.h>
@@ -72,5 +75,5 @@ index 4d7b2921..0e753090 100644
72 #include <wrapper/fdtable.h> 75 #include <wrapper/fdtable.h>
73 #include <wrapper/sched.h> 76 #include <wrapper/sched.h>
74-- 77--
752.19.1 782.35.7
76 79
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.13.9.bb b/meta/recipes-kernel/lttng/lttng-modules_2.13.14.bb
index a08386b053..a3e29ab7b7 100644
--- a/meta/recipes-kernel/lttng/lttng-modules_2.13.9.bb
+++ b/meta/recipes-kernel/lttng/lttng-modules_2.13.14.bb
@@ -3,7 +3,7 @@ SUMMARY = "Linux Trace Toolkit KERNEL MODULE"
3DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules" 3DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules"
4HOMEPAGE = "https://lttng.org/" 4HOMEPAGE = "https://lttng.org/"
5LICENSE = "LGPL-2.1-only & GPL-2.0-only & MIT" 5LICENSE = "LGPL-2.1-only & GPL-2.0-only & MIT"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=0464cff101a009c403cd2ed65d01d4c4" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=8d0d9f08888046474772a5d745d89d6a"
7 7
8inherit module 8inherit module
9 9
@@ -16,7 +16,7 @@ SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \
16# Use :append here so that the patch is applied also when using devupstream 16# Use :append here so that the patch is applied also when using devupstream
17SRC_URI:append = " file://0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch" 17SRC_URI:append = " file://0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch"
18 18
19SRC_URI[sha256sum] = "bf808b113544287cfe837a6382887fa66354ef5cc8216460cebbef3d27dc3581" 19SRC_URI[sha256sum] = "c6449f7ff12ab644a630692a556304e51525ca37d98aebf826796918be0f5da6"
20 20
21export INSTALL_MOD_DIR="kernel/lttng-modules" 21export INSTALL_MOD_DIR="kernel/lttng-modules"
22 22