From: Michael Jeanson Date: Tue, 26 Sep 2017 18:16:47 +0000 (-0400) Subject: Fix: vmalloc wrapper on kernel < 2.6.38 X-Git-Tag: v2.11.0-rc1~108 X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=1b25fe5879436a90fd22a731e9d3371807e78ba1 Fix: vmalloc wrapper on kernel < 2.6.38 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 Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-tracer.h b/lttng-tracer.h index fb70bad5..5239ef77 100644 --- a/lttng-tracer.h +++ b/lttng-tracer.h @@ -36,6 +36,7 @@ #include #include +#include #include #include