[lttng-dev] [MODULES PATCH 1/2] Fix: redefinition of DEFINE_WRITEBACK_EVENT

Julien Desfossez jdesfossez at efficios.com
Tue Sep 30 16:49:32 EDT 2014


Signed-off-by: Julien Desfossez <jdesfossez at efficios.com>
---
 instrumentation/events/lttng-module/writeback.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/instrumentation/events/lttng-module/writeback.h b/instrumentation/events/lttng-module/writeback.h
index 2dca4e4..5525fed 100644
--- a/instrumentation/events/lttng-module/writeback.h
+++ b/instrumentation/events/lttng-module/writeback.h
@@ -99,6 +99,7 @@ LTTNG_TRACEPOINT_EVENT_CLASS(writeback_class,
 		  __entry->name
 	)
 )
+#undef DEFINE_WRITEBACK_EVENT
 #define DEFINE_WRITEBACK_EVENT(name) \
 LTTNG_TRACEPOINT_EVENT_INSTANCE(writeback_class, name, \
 	TP_PROTO(struct backing_dev_info *bdi), \
-- 
1.9.1




More information about the lttng-dev mailing list