| 1 | #undef TRACE_SYSTEM |
| 2 | #define TRACE_SYSTEM udp |
| 3 | |
| 4 | #if !defined(LTTNG_TRACE_UDP_H) || defined(TRACE_HEADER_MULTI_READ) |
| 5 | #define LTTNG_TRACE_UDP_H |
| 6 | |
| 7 | #include <probes/lttng-tracepoint-event.h> |
| 8 | #include <linux/udp.h> |
| 9 | |
| 10 | LTTNG_TRACEPOINT_EVENT(udp_fail_queue_rcv_skb, |
| 11 | |
| 12 | TP_PROTO(int rc, struct sock *sk), |
| 13 | |
| 14 | TP_ARGS(rc, sk), |
| 15 | |
| 16 | TP_FIELDS( |
| 17 | ctf_integer(int, rc, rc) |
| 18 | ctf_integer(__u16, lport, inet_sk(sk)->inet_num) |
| 19 | ) |
| 20 | ) |
| 21 | |
| 22 | #endif /* LTTNG_TRACE_UDP_H */ |
| 23 | |
| 24 | /* This part must be outside protection */ |
| 25 | #include <probes/define_trace.h> |