1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define TRACE_SYSTEM udp
5 #if !defined(_TRACE_UDP_H) || defined(TRACE_HEADER_MULTI_READ)
9 #include <linux/tracepoint.h>
11 TRACE_EVENT(udp_fail_queue_rcv_skb
,
13 TP_PROTO(int rc
, struct sock
*sk
),
24 __entry
->lport
= inet_sk(sk
)->inet_num
;
27 TP_printk("rc=%d port=%hu", __entry
->rc
, __entry
->lport
)
30 #endif /* _TRACE_UDP_H */
32 /* This part must be outside protection */
33 #include <trace/define_trace.h>