2 #define TRACE_SYSTEM sock
4 #if !defined(LTTNG_TRACE_SOCK_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define LTTNG_TRACE_SOCK_H
7 #include "../../../probes/lttng-tracepoint-event.h"
10 LTTNG_TRACEPOINT_EVENT(sock_rcvqueue_full
,
12 TP_PROTO(struct sock
*sk
, struct sk_buff
*skb
),
17 ctf_integer(int, rmem_alloc
, atomic_read(&sk
->sk_rmem_alloc
))
18 ctf_integer(unsigned int, truesize
, skb
->truesize
)
19 ctf_integer(int, sk_rcvbuf
, sk
->sk_rcvbuf
)
23 LTTNG_TRACEPOINT_EVENT(sock_exceed_buf_limit
,
25 TP_PROTO(struct sock
*sk
, struct proto
*prot
, long allocated
),
27 TP_ARGS(sk
, prot
, allocated
),
30 ctf_string(name
, prot
->name
)
31 ctf_array(long, sysctl_mem
, prot
->sysctl_mem
, 3)
32 ctf_integer(long, allocated
, allocated
)
33 ctf_integer(int, sysctl_rmem
, prot
->sysctl_rmem
[0])
34 ctf_integer(int, rmem_alloc
, atomic_read(&sk
->sk_rmem_alloc
))
38 #endif /* LTTNG_TRACE_SOCK_H */
40 /* This part must be outside protection */
41 #include "../../../probes/define_trace.h"
This page took 0.030352 seconds and 4 git commands to generate.