]> granicus.if.org Git - sysstat/commit
sadc: Rework softnet stats reading procedure
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 26 Sep 2020 14:07:02 +0000 (16:07 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 26 Sep 2020 14:07:02 +0000 (16:07 +0200)
commit01ce5f206ac31246ef1460cf63744cbc2d9b894b
tree289af529b62fef0868eb2beb36a73dac7304d088
parent45c97501ca2877a1c2c929a8c5443834612d7bd3
sadc: Rework softnet stats reading procedure

Make sure that all lines from /proc/net/softnet_stat are read.
If not enough slots have been allocated then allocate more of them.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
rd_stats.c
sa_wrap.c