]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lttng-modules: Fix build failure for 5.10.119+ and 5.15.44+ kernel
authorHe Zhe <zhe.he@windriver.com>
Thu, 2 Jun 2022 07:39:42 +0000 (15:39 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 4 Jun 2022 10:27:09 +0000 (11:27 +0100)
commitc8effd12cae7c7024f8e6c8f6ef70ed602d380ed
tree4c32d37ccd86efb36c2f08ccad64d19eaad858ac
parent880296e68cfd92cfd4c9474972c8d8e6f21a2a40
lttng-modules: Fix build failure for 5.10.119+ and 5.15.44+ kernel

The following kernel commit has been back ported to v5.10.119 and v5.15.44.

commit 14c174633f349cb41ea90c2c0aaddac157012f74
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Thu Feb 10 16:40:44 2022 +0100

  random: remove unused tracepoints

  These explicit tracepoints aren't really used and show sign of aging.
  It's work to keep these up to date, and before I attempted to keep them
  up to date, they weren't up to date, which indicates that they're not
  really used. These days there are better ways of introspecting anyway.

Which causes the following build failure
lttng-modules-2.13.3/src/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.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/lttng-modules/0001-fix-random-remove-unused-tracepoints-v5.10-v5.15.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/lttng-modules_2.13.3.bb