]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lttng-modules: Backport Linux 5.18+, 5.15.44+, 5.10.119+ fixes
authorMarek Vasut <marex@denx.de>
Sat, 25 Jun 2022 22:39:36 +0000 (00:39 +0200)
committerSteve Sakoman <steve@sakoman.com>
Wed, 29 Jun 2022 15:15:49 +0000 (05:15 -1000)
commit9f301f5563df868626d624c2d0781dae1b81a4c0
tree172540da2cad756443d0c1701ad5ffd0a72321ae
parenta0415549af8d10f4915c519433b49ce812bd2324
lttng-modules: Backport Linux 5.18+, 5.15.44+, 5.10.119+ fixes

The Linux kernel commit 14c174633f349 ("random: remove unused tracepoints")
removed unused tracepoints and has been backported to stable Linux kernel
releases. This causes build failure of lttng-modules:

"
lttng-modules-2.11.6/probes/lttng-probe-random.c:18:10: fatal error: trace/events/random.h: No such file or directory
|    18 | #include <trace/events/random.h>
|       |          ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
"

Backport patches from lttng-modules master branch to address the build
failure on all of Linux 5.18.y, 5.15.y 5.10.y, 5.4, 4.19, 4.14, and 4.9 kernel versions.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-kernel/lttng/lttng-modules/0017-fix-random-remove-unused-tracepoints-v5.18.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/lttng-modules/0018-fix-random-remove-unused-tracepoints-v5.10-v5.15.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/lttng-modules/0019-fix-random-tracepoints-removed-in-stable-kernels.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/lttng-modules_2.11.6.bb