From 560a0ba3591fefb7e8bc87db6eb7f96b9e7eb6af Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Fri, 3 Feb 2023 04:11:38 -1000 Subject: lttng-modules: update 2.11.7 -> 2.11.8 2021-02-17 (Random Act of Kindness Day) LTTng modules 2.11.8 * fix: Adjust ranges for Ubuntu 5.8.0-44 kernel * Fix: do not use bdi_unknown_name symbol * fix: memcg: fix a crash in wb_workfn when a device disappears (5.6) * Fix: writeback: out-of-bound reads * fix: Add one digit to RHEL major release version * fix: Add one digit to SLES minor release version * fix: RT_PATCH_VERSION is close to overflow * fix: cast LTTNG_KERNEL_VERSION/LTTNG_LINUX_VERSION_CODE to uint64_t * fix: UTS_UBUNTU_RELEASE_ABI is close to overflow * fix: sublevel version overflow in LINUX_VERSION_CODE * Namespace kernel version macros * aarch64: blacklist gcc prior to 5.1 * fix: missing include for 'task_struct' in fdtable.h * fix: genirq: Restrict export of irq_to_desc() (v5.11) * fix: block: merge struct block_device and struct hd_struct (v5.11) * fix: kprobes: Remove kretprobe hash (v5.11) * fix: file: Rename fcheck lookup_fd_rcu (v5.11) * fix: block: remove the request_queue argument to the block_bio_remap tracepoint (v5.11) * fix: block: remove the request_queue argument to the block_split tracepoint (v5.11) * fix: block: simplify and extend the block_bio_merge tracepoint class (v5.11) * fix: block: remove the request_queue to argument request based tracepoints (v5.11) (From OE-Core rev: fa1056f62017ea764b494c41cc7cdaefe0a80fb6) Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie --- meta/recipes-kernel/lttng/lttng-modules_2.11.7.bb | 49 ----------------------- meta/recipes-kernel/lttng/lttng-modules_2.11.8.bb | 49 +++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 meta/recipes-kernel/lttng/lttng-modules_2.11.7.bb create mode 100644 meta/recipes-kernel/lttng/lttng-modules_2.11.8.bb diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.11.7.bb b/meta/recipes-kernel/lttng/lttng-modules_2.11.7.bb deleted file mode 100644 index d95613ba97..0000000000 --- a/meta/recipes-kernel/lttng/lttng-modules_2.11.7.bb +++ /dev/null @@ -1,49 +0,0 @@ -SECTION = "devel" -SUMMARY = "Linux Trace Toolkit KERNEL MODULE" -DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules" -HOMEPAGE = "https://lttng.org/" -LICENSE = "LGPLv2.1 & GPLv2 & MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3f882d431dc0f32f1f44c0707aa41128" - -inherit module - -COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|nios2|arm|riscv).*-linux' - -SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ - file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \ - file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch \ - file://0017-fix-random-remove-unused-tracepoints-v5.18.patch \ - file://0018-fix-random-remove-unused-tracepoints-v5.10-v5.15.patch \ - file://0019-fix-random-tracepoints-removed-in-stable-kernels.patch \ - " - -SRC_URI[md5sum] = "d1f1db78fe6fb6ea159c6e957a5ea6af" -SRC_URI[sha256sum] = "d7b7170e6af8c5a74dda06d9cf1afaac2519b6d8b7e823acce5bf7b23857a55e" - -export INSTALL_MOD_DIR="kernel/lttng-modules" - -EXTRA_OEMAKE += "KERNELDIR='${STAGING_KERNEL_DIR}'" - -do_install_append() { - # Delete empty directories to avoid QA failures if no modules were built - if [ -d ${D}/${nonarch_base_libdir} ]; then - find ${D}/${nonarch_base_libdir} -depth -type d -empty -exec rmdir {} \; - fi -} - -python do_package_prepend() { - if not os.path.exists(os.path.join(d.getVar('D'), d.getVar('nonarch_base_libdir')[1:], 'modules')): - bb.warn("%s: no modules were created; this may be due to CONFIG_TRACEPOINTS not being enabled in your kernel." % d.getVar('PN')) -} - -BBCLASSEXTEND = "devupstream:target" -LIC_FILES_CHKSUM_class-devupstream = "file://LICENSE;md5=3f882d431dc0f32f1f44c0707aa41128" -DEFAULT_PREFERENCE_class-devupstream = "-1" -SRC_URI_class-devupstream = "git://git.lttng.org/lttng-modules;branch=stable-2.11 \ - file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \ - file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch \ - " -SRCREV_class-devupstream = "17c413953603f063f2a9d6c3788bec914ce6f955" -PV_class-devupstream = "2.11.2+git${SRCPV}" -S_class-devupstream = "${WORKDIR}/git" -SRCREV_FORMAT ?= "lttng_git" diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.11.8.bb b/meta/recipes-kernel/lttng/lttng-modules_2.11.8.bb new file mode 100644 index 0000000000..84d8daf8d4 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules_2.11.8.bb @@ -0,0 +1,49 @@ +SECTION = "devel" +SUMMARY = "Linux Trace Toolkit KERNEL MODULE" +DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules" +HOMEPAGE = "https://lttng.org/" +LICENSE = "LGPLv2.1 & GPLv2 & MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3f882d431dc0f32f1f44c0707aa41128" + +inherit module + +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|nios2|arm|riscv).*-linux' + +SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ + file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \ + file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch \ + file://0017-fix-random-remove-unused-tracepoints-v5.18.patch \ + file://0018-fix-random-remove-unused-tracepoints-v5.10-v5.15.patch \ + file://0019-fix-random-tracepoints-removed-in-stable-kernels.patch \ + " + +SRC_URI[md5sum] = "0aba7e5ca53e756875605221f7e0dec9" +SRC_URI[sha256sum] = "77d03546bbb7668b146f2261c646d503b7b601dc7072a5359d729d40f13598a1" + +export INSTALL_MOD_DIR="kernel/lttng-modules" + +EXTRA_OEMAKE += "KERNELDIR='${STAGING_KERNEL_DIR}'" + +do_install_append() { + # Delete empty directories to avoid QA failures if no modules were built + if [ -d ${D}/${nonarch_base_libdir} ]; then + find ${D}/${nonarch_base_libdir} -depth -type d -empty -exec rmdir {} \; + fi +} + +python do_package_prepend() { + if not os.path.exists(os.path.join(d.getVar('D'), d.getVar('nonarch_base_libdir')[1:], 'modules')): + bb.warn("%s: no modules were created; this may be due to CONFIG_TRACEPOINTS not being enabled in your kernel." % d.getVar('PN')) +} + +BBCLASSEXTEND = "devupstream:target" +LIC_FILES_CHKSUM_class-devupstream = "file://LICENSE;md5=3f882d431dc0f32f1f44c0707aa41128" +DEFAULT_PREFERENCE_class-devupstream = "-1" +SRC_URI_class-devupstream = "git://git.lttng.org/lttng-modules;branch=stable-2.11 \ + file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \ + file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch \ + " +SRCREV_class-devupstream = "17c413953603f063f2a9d6c3788bec914ce6f955" +PV_class-devupstream = "2.11.2+git${SRCPV}" +S_class-devupstream = "${WORKDIR}/git" +SRCREV_FORMAT ?= "lttng_git" -- cgit v1.2.3-54-g00ecf