X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fskb.h;h=186732eac189a61206f8994e928670ebc4b9381b;hb=6347a94fa7275a9e5ba16086309eb6921d185a7f;hp=c6d7095dbb589b98ff443926c028550e34f1220f;hpb=4b329355294d9acaedf02b4c4a5c254f0fec0e1c;p=lttng-modules.git diff --git a/include/instrumentation/events/skb.h b/include/instrumentation/events/skb.h index c6d7095d..186732ea 100644 --- a/include/instrumentation/events/skb.h +++ b/include/instrumentation/events/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) )