X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fskb.h;fp=instrumentation%2Fevents%2Flttng-module%2Fskb.h;h=2d61de23c4beb2c53e975d949d70241ccde2c997;hb=360d3efee55154a55c18be32175bee608dcb21df;hp=77e1823a09129282e863aa98b6a58d20b90661a0;hpb=c8d38a68e21703af9b2287120cab1a52d24db9f7;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/skb.h b/instrumentation/events/lttng-module/skb.h index 77e1823a..2d61de23 100644 --- a/instrumentation/events/lttng-module/skb.h +++ b/instrumentation/events/lttng-module/skb.h @@ -7,7 +7,7 @@ #include #include #include -#include +#include /* * Tracepoint for free an sk_buff: @@ -27,7 +27,7 @@ LTTNG_TRACEPOINT_EVENT_MAP(kfree_skb, ) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(2,6,37)) LTTNG_TRACEPOINT_EVENT_MAP(consume_skb, skb_consume, @@ -42,7 +42,7 @@ LTTNG_TRACEPOINT_EVENT_MAP(consume_skb, ) #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(2,6,32)) LTTNG_TRACEPOINT_EVENT(skb_copy_datagram_iovec, TP_PROTO(const struct sk_buff *skb, int len),