diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-05-15 11:45:32 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-16 08:29:59 +0100 |
commit | 4f7ea3fef7278d0f1f521b346a2cbe87aa2b9202 (patch) | |
tree | d29f7990c44f31c077903030aebdc7ba3c056baf /meta/recipes-kernel/lttng/lttng-modules_2.12.6.bb | |
parent | f98ea33f637a95d166691d1dfa2fe546be840d4d (diff) | |
download | poky-4f7ea3fef7278d0f1f521b346a2cbe87aa2b9202.tar.gz |
lttng-modules: update to v2.12.6
To support building against v5.12+ and v5.13+ kernels, bumping to the
v2.12.6 lttng-release.
We drop the previously backported patches, and bring in the following
commits:
0d8e4ab9 Version 2.12.6
78f56ae3 fix: adjust ranges for RHEL 8.2 and 8.3
4c996ea7 Disable block rwbs bitwise enum in default build
4ac46085 Disable sched_switch bitwise enum in default build
5e22c27b Add experimental bitwise enum config option
937d307e Add defaults to Kconfig options
4a114d43 Sync `show_inode_state()` macro with upstream stable kernels
3bd6ac3e fix: block: remove disk_part_iter (v5.12)
8bbb8c9d Fix: Backport of "Fix: increment buffer offset when failing to copy from user-space"
30cddf69 Fix: increment buffer offset when failing to copy from user-space
4733b9ab Sync `show_inode_state()` macro with Ubuntu 4.15 kernel
ff21ec48 fix: mm, tracing: kfree event name mismatching with provider kmem (v5.12)
b2b02c29 Set 'stable-2.12' branch in git review config
00b42dbf fix backport: block: add a disk_uevent helper (v5.12)
771ff089 fix: Adjust ranges for Ubuntu 5.4.0-67 kernel
d8933959 fix: block: add a disk_uevent helper (v5.12)
71034df1 Fix: properly compare type enumeration
4d879d23 compiler warning cleanup: is_signed_type: compare -1 to 1
fead3a9c Fix: bytecode linker: validate event and field array/sequence encoding
92cc3e7f Fix: kretprobe: null ptr deref on session destroy
49c603ef fix: mm, tracing: record slab name for kmem_cache_free() (v5.12)
23a2f61f Fix: filter interpreter early-exits on uninitialized value
b3fdf78b Fix: memory leaks on event destroy
(From OE-Core rev: c2f027b8e2f842915a0ffdfd6c2c0597f3b02bce)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-modules_2.12.6.bb')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules_2.12.6.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.12.6.bb b/meta/recipes-kernel/lttng/lttng-modules_2.12.6.bb new file mode 100644 index 0000000000..94e849de59 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules_2.12.6.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | SECTION = "devel" | ||
2 | SUMMARY = "Linux Trace Toolkit KERNEL MODULE" | ||
3 | DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules" | ||
4 | HOMEPAGE = "https://lttng.org/" | ||
5 | LICENSE = "LGPLv2.1 & GPLv2 & MIT" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3f882d431dc0f32f1f44c0707aa41128" | ||
7 | |||
8 | inherit module | ||
9 | |||
10 | include lttng-platforms.inc | ||
11 | |||
12 | SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ | ||
13 | file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \ | ||
14 | " | ||
15 | |||
16 | SRC_URI[sha256sum] = "95ac2a2cf92d85d23ffbdaca6a1ec0d7c167211d1e0fb850ab90004a3f475eaa" | ||
17 | |||
18 | export INSTALL_MOD_DIR="kernel/lttng-modules" | ||
19 | |||
20 | EXTRA_OEMAKE += "KERNELDIR='${STAGING_KERNEL_DIR}'" | ||
21 | |||
22 | do_install_append() { | ||
23 | # Delete empty directories to avoid QA failures if no modules were built | ||
24 | find ${D}/${nonarch_base_libdir} -depth -type d -empty -exec rmdir {} \; | ||
25 | } | ||
26 | |||
27 | python do_package_prepend() { | ||
28 | if not os.path.exists(os.path.join(d.getVar('D'), d.getVar('nonarch_base_libdir')[1:], 'modules')): | ||
29 | bb.warn("%s: no modules were created; this may be due to CONFIG_TRACEPOINTS not being enabled in your kernel." % d.getVar('PN')) | ||
30 | } | ||
31 | |||
32 | BBCLASSEXTEND = "devupstream:target" | ||
33 | LIC_FILES_CHKSUM_class-devupstream = "file://LICENSE;md5=0464cff101a009c403cd2ed65d01d4c4" | ||
34 | DEFAULT_PREFERENCE_class-devupstream = "-1" | ||
35 | SRC_URI_class-devupstream = "git://git.lttng.org/lttng-modules;branch=stable-2.13 \ | ||
36 | file://0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch \ | ||
37 | " | ||
38 | |||
39 | SRCREV_class-devupstream = "f982b51a98a29cb4aaf607cb9bbf2b509d8e6933" | ||
40 | PV_class-devupstream = "2.13.0-rc2+git${SRCPV}" | ||
41 | S_class-devupstream = "${WORKDIR}/git" | ||
42 | SRCREV_FORMAT ?= "lttng_git" | ||