]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.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)
committerSteve Sakoman <steve@sakoman.com>
Thu, 9 Jun 2022 16:47:49 +0000 (06:47 -1000)
commit48aad396d902b36ece414b0adb9cce4aebb093d7
tree267f7f28817e57a53d09725fd9ee2271d2649620
parent6c689e1b6f5501b0db8b24552fe4eae033fee289
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>
(cherry picked from commit c8effd12cae7c7024f8e6c8f6ef70ed602d380ed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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