Add check for old tracepoint kernel
[lttng-modules.git] / 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.023495 seconds and 4 git commands to generate.