Add check for old tracepoint kernel
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 24 Jun 2011 02:13:37 +0000 (22:13 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 24 Jun 2011 02:13:37 +0000 (22:13 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-events.h

index 32c87358f635c9b380bce2b51fb13e1f0ebea044..4d4eea935aa6ab62c12063d1ab9c593f9d66eae4 100644 (file)
@@ -359,4 +359,8 @@ void lttng_ftrace_destroy_private(struct ltt_event *event)
 
 extern const struct file_operations lttng_tracepoint_list_fops;
 
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35))
+#define TRACEPOINT_HAS_DATA_ARG
+#endif
+
 #endif /* _LTT_EVENTS_H */
This page took 0.026819 seconds and 4 git commands to generate.