[lttng-dev] [PATCH lttng-modules] Fix: vmalloc wrapper on kernel < 2.6.38

Michael Jeanson mjeanson at efficios.com
Tue Sep 26 18:16:47 UTC 2017


Ensure that all probes end up including the vmalloc wrapper through the
lttng-tracer.h header so the trace_*() static inlines are generated
through inclusion of include/trace/events/kmem.h before we define
CREATE_TRACE_POINTS.

Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
 lttng-tracer.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lttng-tracer.h b/lttng-tracer.h
index fb70bad..5239ef7 100644
--- a/lttng-tracer.h
+++ b/lttng-tracer.h
@@ -36,6 +36,7 @@
 
 #include <wrapper/trace-clock.h>
 #include <wrapper/compiler.h>
+#include <wrapper/vmalloc.h>
 #include <lttng-tracer-core.h>
 #include <lttng-events.h>
 
-- 
2.7.4



More information about the lttng-dev mailing list