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/0002-Fix-sched-for-v4.11.5-rt1.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/0002-Fix-sched-for-v4.11.5-rt1.patch')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules/0002-Fix-sched-for-v4.11.5-rt1.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules/0002-Fix-sched-for-v4.11.5-rt1.patch b/meta/recipes-kernel/lttng/lttng-modules/0002-Fix-sched-for-v4.11.5-rt1.patch new file mode 100644 index 0000000000..d85630565a --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules/0002-Fix-sched-for-v4.11.5-rt1.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 8db274f8dda050c4f2ee3dbd0f36a5ad8f8bd993 Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Jeanson <mjeanson@efficios.com> | ||
3 | Date: Mon, 10 Jul 2017 18:13:11 -0400 | ||
4 | Subject: [PATCH 2/8] Fix: sched for v4.11.5-rt1 | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | Upstream-Status: Backport [2.9.4] | ||
8 | |||
9 | Signed-off-by: Michael Jeanson <mjeanson@efficios.com> | ||
10 | Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | ||
11 | --- | ||
12 | instrumentation/events/lttng-module/sched.h | 3 ++- | ||
13 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/instrumentation/events/lttng-module/sched.h b/instrumentation/events/lttng-module/sched.h | ||
16 | index e6f36b1..cb5b5b2 100644 | ||
17 | --- a/instrumentation/events/lttng-module/sched.h | ||
18 | +++ b/instrumentation/events/lttng-module/sched.h | ||
19 | @@ -541,7 +541,8 @@ LTTNG_TRACEPOINT_EVENT(sched_stat_runtime, | ||
20 | #endif | ||
21 | |||
22 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0) || \ | ||
23 | - LTTNG_RT_KERNEL_RANGE(4,9,27,18, 4,10,0,0)) | ||
24 | + LTTNG_RT_KERNEL_RANGE(4,9,27,18, 4,10,0,0) || \ | ||
25 | + LTTNG_RT_KERNEL_RANGE(4,11,5,1, 4,12,0,0)) | ||
26 | /* | ||
27 | * Tracepoint for showing priority inheritance modifying a tasks | ||
28 | * priority. | ||
29 | -- | ||
30 | 2.14.1 | ||
31 | |||