Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] [PATCH lttng-modules] Fix: vmalloc wrapper on kernel < 2.6.38
@ 2017-09-26 18:16 Michael Jeanson
  0 siblings, 0 replies; only message in thread
From: Michael Jeanson @ 2017-09-26 18:16 UTC (permalink / raw)


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 at efficios.com>
---
 lttng-tracer.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lttng-tracer.h b/lttng-tracer.h
index fb70bad..5239ef7 100644
--- a/lttng-tracer.h
+++ b/lttng-tracer.h
@@ -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>
 
-- 
2.7.4



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-26 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-26 18:16 [lttng-dev] [PATCH lttng-modules] Fix: vmalloc wrapper on kernel < 2.6.38 Michael Jeanson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox