X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt-events.h;h=4d4eea935aa6ab62c12063d1ab9c593f9d66eae4;hb=ef200626172d529e42df4331f2abe92f875bc64a;hp=32c87358f635c9b380bce2b51fb13e1f0ebea044;hpb=c40673b846c3a21c32d18467ce2b1c545c6ef0b3;p=lttng-modules.git diff --git a/ltt-events.h b/ltt-events.h index 32c87358..4d4eea93 100644 --- a/ltt-events.h +++ b/ltt-events.h @@ -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 */