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.10.1~5 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=6044246e72574657d6d9b35643378596b965a97e 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 a2bb29ec..a2a036e4 100644 --- a/lttng-tracer.h +++ b/lttng-tracer.h @@ -36,6 +36,7 @@ #include #include +#include #include #include