1GNET_STATS_COPY_BASI(9)        Linux Networking        GNET_STATS_COPY_BASI(9)
2
3
4

NAME

6       gnet_stats_copy_basic - copy basic statistics into statistic TLV
7

SYNOPSIS

9       int gnet_stats_copy_basic(const seqcount_t * running,
10                                 struct gnet_dump * d,
11                                 struct gnet_stats_basic_cpu __percpu * cpu,
12                                 struct gnet_stats_basic_packed * b);
13

ARGUMENTS

15       running
16           seqcount_t pointer
17
18       d
19           dumping handle
20
21       cpu
22           -- undescribed --
23
24       b
25           basic statistics
26

DESCRIPTION

28       Appends the basic statistics to the top level TLV created by
29       gnet_stats_start_copy.
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_BASI(9)
Impressum