X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fnet.h;h=6fbe86f86b581ab3067eeeab61a9d2025495138d;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=c2d8c67be0cd2779259af44df300dfc85b3e0bfe;hpb=be06402dbdbea2f3394e60ec15c5d3356e2be416;p=lttng-modules.git diff --git a/include/instrumentation/events/net.h b/include/instrumentation/events/net.h index c2d8c67b..6fbe86f8 100644 --- a/include/instrumentation/events/net.h +++ b/include/instrumentation/events/net.h @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include @@ -697,7 +697,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_template, TP_ARGS(skb) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,14,0)) /* Trace events for the receive entry points */ LTTNG_TRACEPOINT_EVENT_CLASS(net_dev_receive_entry_template, @@ -768,7 +768,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_receive_entry_template, #endif /* kernel > 3.14 */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,19,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,19,0)) LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_receive_entry_template, @@ -783,7 +783,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(net_dev_receive_entry_template, #endif /* kernel > 4.19 */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,0,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,0,0)) /* Trace events for the receive exit points */ LTTNG_TRACEPOINT_EVENT_CLASS(net_dev_receive_exit_template,