Merge tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux/fpc-iii.git] / include / trace / events / udp.h
blob336fe272889f59c5fe59cda70f0b5a1bff526c97
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM udp
5 #if !defined(_TRACE_UDP_H) || defined(TRACE_HEADER_MULTI_READ)
6 #define _TRACE_UDP_H
8 #include <linux/udp.h>
9 #include <linux/tracepoint.h>
11 TRACE_EVENT(udp_fail_queue_rcv_skb,
13 TP_PROTO(int rc, struct sock *sk),
15 TP_ARGS(rc, sk),
17 TP_STRUCT__entry(
18 __field(int, rc)
19 __field(__u16, lport)
22 TP_fast_assign(
23 __entry->rc = rc;
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>