X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fskb.h;h=bca4ff34c39966506473d0be835ba9ab4af43443;hb=b78104db53f97c10add30016e365855a26f6e01e;hp=6d3fd45c61f5c748a88079bd3d26cd9f3bae342e;hpb=7381483908683d2077de407a3a052716afebda67;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/skb.h b/instrumentation/events/lttng-module/skb.h index 6d3fd45c..bca4ff34 100644 --- a/instrumentation/events/lttng-module/skb.h +++ b/instrumentation/events/lttng-module/skb.h @@ -8,7 +8,7 @@ #include #include #include -#include +#include /* * Tracepoint for free an sk_buff: @@ -28,7 +28,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, @@ -43,7 +43,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),