X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fsignal.h;h=a1c904bc8a27cac72df8d4ca64913c298eb536c2;hb=7c68b363332170e4db100327ecc9e09b8a79cf29;hp=945747ffdded66be6317c0986d357e2bbe42d86e;hpb=83788d81815146024200cba5aa46c705a05d6b99;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/signal.h b/instrumentation/events/lttng-module/signal.h index 945747ff..a1c904bc 100644 --- a/instrumentation/events/lttng-module/signal.h +++ b/instrumentation/events/lttng-module/signal.h @@ -135,6 +135,7 @@ TRACE_EVENT(signal_deliver, __entry->sa_handler, __entry->sa_flags) ) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0)) DECLARE_EVENT_CLASS(signal_queue_overflow, TP_PROTO(int sig, int group, struct siginfo *info), @@ -193,6 +194,7 @@ DEFINE_EVENT(signal_queue_overflow, signal_lose_info, TP_ARGS(sig, group, info) ) +#endif #endif /* _TRACE_SIGNAL_H */