diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2017-09-26 17:43:55 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-07 23:20:40 +0100 |
commit | 18edfb2af6e7040e0453c84796416be2b8f45454 (patch) | |
tree | 2a2554a4b659fefc1213c79563b14a124927b11b /meta/recipes-kernel/lttng/lttng-modules/0008-Fix-vmalloc-wrapper-on-kernel-2.6.38.patch | |
parent | d4adc029891aeda4b9f132e1d674afc25a0ee4b0 (diff) | |
download | poky-18edfb2af6e7040e0453c84796416be2b8f45454.tar.gz |
lttng-modules: Backport fixes for kernel instrumentation
This backport fixes from upcoming 2.9.4 release. Those are:
- Fix: vmalloc wrapper on kernel < 2.6.38
- Fix: vmalloc wrapper on kernel >= 4.12
- Add kmalloc failover to vmalloc
- Fix: mmap: caches aliased on virtual addresses
- Fix: update ext4 instrumentation for kernel 4.13
- Fix: Sleeping function called from invalid context
- Fix: sched for v4.11.5-rt1
- Fix: handle missing ftrace header on v4.12
This fix failures in some BSP layers which are using Linux 4.13
already.
(From OE-Core rev: 45ab93e74252f40dbe777000e1b33f4b3783536e)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-modules/0008-Fix-vmalloc-wrapper-on-kernel-2.6.38.patch')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules/0008-Fix-vmalloc-wrapper-on-kernel-2.6.38.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules/0008-Fix-vmalloc-wrapper-on-kernel-2.6.38.patch b/meta/recipes-kernel/lttng/lttng-modules/0008-Fix-vmalloc-wrapper-on-kernel-2.6.38.patch new file mode 100644 index 0000000000..e7a79c67f1 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules/0008-Fix-vmalloc-wrapper-on-kernel-2.6.38.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From a919317a3e3352038c8285a41055b370adc79478 Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Jeanson <mjeanson@efficios.com> | ||
3 | Date: Tue, 26 Sep 2017 14:16:47 -0400 | ||
4 | Subject: [PATCH 8/8] Fix: vmalloc wrapper on kernel < 2.6.38 | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | Ensure that all probes end up including the vmalloc wrapper through the | ||
8 | lttng-tracer.h header so the trace_*() static inlines are generated | ||
9 | through inclusion of include/trace/events/kmem.h before we define | ||
10 | CREATE_TRACE_POINTS. | ||
11 | |||
12 | Upstream-Status: Backport [2.9.4] | ||
13 | |||
14 | Signed-off-by: Michael Jeanson <mjeanson@efficios.com> | ||
15 | Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | ||
16 | --- | ||
17 | lttng-tracer.h | 1 + | ||
18 | 1 file changed, 1 insertion(+) | ||
19 | |||
20 | diff --git a/lttng-tracer.h b/lttng-tracer.h | ||
21 | index 58a7a26..5da882b 100644 | ||
22 | --- a/lttng-tracer.h | ||
23 | +++ b/lttng-tracer.h | ||
24 | @@ -36,6 +36,7 @@ | ||
25 | |||
26 | #include <wrapper/trace-clock.h> | ||
27 | #include <wrapper/compiler.h> | ||
28 | +#include <wrapper/vmalloc.h> | ||
29 | #include <lttng-tracer-core.h> | ||
30 | #include <lttng-events.h> | ||
31 | |||
32 | -- | ||
33 | 2.14.1 | ||
34 | |||