]> granicus.if.org Git - sysstat/commit
sadf: PCP: Don't check for newly registered network interfaces
authorSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 7 Jun 2021 09:51:13 +0000 (11:51 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 7 Jun 2021 09:51:13 +0000 (11:51 +0200)
commit47fba17d8e729fb07d05e8cedf744da105f230c7
treee2c6d3a19e04ef5983fc561ccdc2749e1285a94c
parentd4fb28dd43b393d0175509bb1bf0f518bf5d03d4
sadf: PCP: Don't check for newly registered network interfaces

It is useless to check if current network interface has just been
registered or not before displaying its PCP statistics.
This is because PCP displays the raw counter values, not their variation
over the interval. Moreover the whole list of network interfaces present
in file has been created with each one having already its instance.

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