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.9.4~5 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=a919317a3e3352038c8285a41055b370adc79478 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 58a7a267..5da882b1 100644 --- a/lttng-tracer.h +++ b/lttng-tracer.h @@ -36,6 +36,7 @@ #include #include +#include #include #include