diff options
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 | |||