Fix: vmalloc wrapper on kernel < 2.6.38
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 26 Sep 2017 18:16:47 +0000 (14:16 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 26 Sep 2017 18:17:36 +0000 (14:17 -0400)
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@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-tracer.h

index fb70bad5afafd7e2d565343447bf2ec85198b3c5..5239ef77a0d09f8135f0fba31b443b6528df8e16 100644 (file)
@@ -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>
 
This page took 0.02626 seconds and 4 git commands to generate.