X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fskb.h;h=186732eac189a61206f8994e928670ebc4b9381b;hb=9bb690ee6cbc8a9be1a741a23e8d0e280c55f53c;hp=237e54adb299ca64e3e653e59edc4c86ea6cc64d;hpb=9e77c175394360591aa1bf086bd1e2643bb2013e;p=lttng-modules.git diff --git a/include/instrumentation/events/skb.h b/include/instrumentation/events/skb.h index 237e54ad..186732ea 100644 --- a/include/instrumentation/events/skb.h +++ b/include/instrumentation/events/skb.h @@ -13,7 +13,9 @@ /* * Tracepoint for free an sk_buff: */ -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0) \ + || LTTNG_KERNEL_RANGE(5,15,58, 5,16,0)) + LTTNG_TRACEPOINT_ENUM(skb_drop_reason, TP_ENUM_VALUES( ctf_enum_value("NOT_SPECIFIED", SKB_DROP_REASON_NOT_SPECIFIED)