From b952c3f07ae3626dab7a30f2fb0e0f893e8aa6f7 Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Fri, 3 Feb 2023 04:17:54 -1000 Subject: lttng-modules: update 2.11.8 -> 2.11.9 2021-05-14 (National Dance Like a Chicken Day) LTTng modules 2.11.9 * fix: adjust ranges for RHEL 8.2 and 8.3 * Sync `show_inode_state()` macro with upstream stable kernels * fix: block: remove disk_part_iter (v5.12) * Fix: Backport of "Fix: increment buffer offset when failing to copy from user-space" * Fix: increment buffer offset when failing to copy from user-space * Sync `show_inode_state()` macro with Ubuntu 4.15 kernel * fix: mm, tracing: kfree event name mismatching with provider kmem (v5.12) * Set 'stable-2.11' branch in git review config * fix backport: block: add a disk_uevent helper (v5.12) * fix: Adjust ranges for Ubuntu 5.4.0-67 kernel * fix: block: add a disk_uevent helper (v5.12) * Fix: properly compare type enumeration * compiler warning cleanup: is_signed_type: compare -1 to 1 * Fix: bytecode linker: validate event and field array/sequence encoding * Fix: kretprobe: null ptr deref on session destroy * fix: mm, tracing: record slab name for kmem_cache_free() (v5.12) * Fix: filter interpreter early-exits on uninitialized value * Fix: memory leaks on event destroy (From OE-Core rev: 146cc298e9dcb9ea7fe54669899accafee123e46) Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie --- meta/recipes-kernel/lttng/lttng-modules_2.11.8.bb | 49 ----------------------- meta/recipes-kernel/lttng/lttng-modules_2.11.9.bb | 49 +++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 meta/recipes-kernel/lttng/lttng-modules_2.11.8.bb create mode 100644 meta/recipes-kernel/lttng/lttng-modules_2.11.9.bb diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.11.8.bb b/meta/recipes-kernel/lttng/lttng-modules_2.11.8.bb deleted file mode 100644 index 84d8daf8d4..0000000000 --- a/meta/recipes-kernel/lttng/lttng-modules_2.11.8.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] = "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" diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.11.9.bb b/meta/recipes-kernel/lttng/lttng-modules_2.11.9.bb new file mode 100644 index 0000000000..d30478c1a1 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules_2.11.9.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] = "cfb23ea6bdaf1ad40c7f9ac098b4016d" +SRC_URI[sha256sum] = "0c5fe9f8d8dbd1411a3c1c643dcbd0a55577bd15845758b73948e00bc7c387a6" + +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