Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mjeanson@efficios.com (Michael Jeanson)
Subject: [lttng-dev] [PATCH lttng-modules] Fix: vmalloc wrapper on kernel < 2.6.38
Date: Tue, 26 Sep 2017 14:16:47 -0400	[thread overview]
Message-ID: <1506449807-5880-1-git-send-email-mjeanson@efficios.com> (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



                 reply	other threads:[~2017-09-26 18:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1506449807-5880-1-git-send-email-mjeanson@efficios.com \
    --to=mjeanson@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox