summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-modules/0008-Fix-vmalloc-wrapper-on-kernel-2.6.38.patch
diff options
context:
space:
mode:
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.patch34
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 @@
1From a919317a3e3352038c8285a41055b370adc79478 Mon Sep 17 00:00:00 2001
2From: Michael Jeanson <mjeanson@efficios.com>
3Date: Tue, 26 Sep 2017 14:16:47 -0400
4Subject: [PATCH 8/8] Fix: vmalloc wrapper on kernel < 2.6.38
5Organization: O.S. Systems Software LTDA.
6
7Ensure that all probes end up including the vmalloc wrapper through the
8lttng-tracer.h header so the trace_*() static inlines are generated
9through inclusion of include/trace/events/kmem.h before we define
10CREATE_TRACE_POINTS.
11
12Upstream-Status: Backport [2.9.4]
13
14Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
15Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
16---
17 lttng-tracer.h | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/lttng-tracer.h b/lttng-tracer.h
21index 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--
332.14.1
34