X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fskb.h;h=6e36302024435eb98fa94810791ac38bbbb80159;hb=b283e56faf06fbf470176f2aa17f19957756f611;hp=86729dae3db7510a9806eb4aab43d01c4a8a765f;hpb=2125da0d32f09c3c5b87dd8688c81fed641ac145;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/skb.h b/instrumentation/events/lttng-module/skb.h index 86729dae..6e363020 100644 --- a/instrumentation/events/lttng-module/skb.h +++ b/instrumentation/events/lttng-module/skb.h @@ -13,14 +13,16 @@ /* * 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) ctf_enum_value("NO_SOCKET", SKB_DROP_REASON_NO_SOCKET) ctf_enum_value("PKT_TOO_SMALL", SKB_DROP_REASON_PKT_TOO_SMALL) ctf_enum_value("TCP_CSUM", SKB_DROP_REASON_TCP_CSUM) - ctf_enum_value("TCP_FILTER", SKB_DROP_REASON_TCP_FILTER) + ctf_enum_value("SOCKET_FILTER", SKB_DROP_REASON_SOCKET_FILTER) ctf_enum_value("UDP_CSUM", SKB_DROP_REASON_UDP_CSUM) ctf_enum_value("MAX", SKB_DROP_REASON_MAX) )