1GNET_STATS_COPY_QUEU(9) Linux Networking GNET_STATS_COPY_QUEU(9)
2
3
4
6 gnet_stats_copy_queue - copy queue statistics into statistics TLV
7
9 int gnet_stats_copy_queue(struct gnet_dump * d,
10 struct gnet_stats_queue __percpu * cpu_q,
11 struct gnet_stats_queue * q, __u32 qlen);
12
14 d
15 dumping handle
16
17 cpu_q
18 per cpu queue statistics
19
20 q
21 queue statistics
22
23 qlen
24 queue length statistics
25
27 Appends the queue statistics to the top level TLV created by
28 gnet_stats_start_copy. Using per cpu queue statistics if they are
29 available.
30
31 Returns 0 on success or -1 with the statistic lock released if the room
32 in the socket buffer was not sufficient.
33
35Kernel Hackers Manual 3.10 June 2019 GNET_STATS_COPY_QUEU(9)