Fix: missing Tracepoint prototype checking due to bogus merge
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 27 Apr 2016 19:18:42 +0000 (15:18 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 27 Apr 2016 19:23:32 +0000 (15:23 -0400)
Backport of the following commit:

commit 6633b022a8e6ef247af926919b493284308f7883
Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date:   Fri Apr 17 16:35:35 2015 -0400

    Fix: check that class and instance prototype match

accidently disabled Tracepoint prototype checking by removing
the #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) required
to perform prototype checking between kernel and lttng-modules.
This issue was introduced in 2.6.1, only in the stable-2.6 branch.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/lttng-events.h

index 0796b71afe1572672ed569afc5cc0cfb301be6cf..f6f7ef1c3bebb1a6b953d7f44f94164d9018b53b 100644 (file)
@@ -183,7 +183,9 @@ void trace_##_name(_proto);
 #define LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP_NOARGS(_template, _name, _map) \
 void trace_##_name(void);
 
- /*
+#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
+
+/*
  * Stage 1.1 of the trace events.
  *
  * Create dummy trace prototypes for each event class, and for each used
This page took 0.027566 seconds and 4 git commands to generate.