Drop support for kernels < 3.0 from skb instrumentation
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 8 Nov 2018 20:52:57 +0000 (15:52 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 8 Nov 2018 23:49:49 +0000 (18:49 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/skb.h

index 6d3fd45c61f5c748a88079bd3d26cd9f3bae342e..1726b4457c567bf99f652a1346d4ebfd02845b1d 100644 (file)
@@ -28,7 +28,6 @@ LTTNG_TRACEPOINT_EVENT_MAP(kfree_skb,
        )
 )
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37))
 LTTNG_TRACEPOINT_EVENT_MAP(consume_skb,
 
        skb_consume,
@@ -41,9 +40,7 @@ LTTNG_TRACEPOINT_EVENT_MAP(consume_skb,
                ctf_integer_hex(void *, skbaddr, skb)
        )
 )
-#endif
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
 LTTNG_TRACEPOINT_EVENT(skb_copy_datagram_iovec,
 
        TP_PROTO(const struct sk_buff *skb, int len),
@@ -55,7 +52,6 @@ LTTNG_TRACEPOINT_EVENT(skb_copy_datagram_iovec,
                ctf_integer(int, len, len)
        )
 )
-#endif
 
 #endif /* LTTNG_TRACE_SKB_H */
 
This page took 0.026894 seconds and 4 git commands to generate.