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:54 +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 58a7a2675eb33d9d20a1ffd85feedb91d6a5171e..5da882b1cba78ef34282f6f428bc7b27c07a71e5 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.025227 seconds and 4 git commands to generate.