]> granicus.if.org Git - sysstat/commit
pidstat stack utilization statistics were not always properly refreshed
authorSebastien GODARD <sysstat@orange.fr.fake>
Fri, 27 Sep 2013 13:31:38 +0000 (15:31 +0200)
committerSebastien GODARD <sysstat@orange.fr.fake>
Fri, 27 Sep 2013 13:31:38 +0000 (15:31 +0200)
commit5276b97f0a4838889d16c40151486cbf00768861
tree5a66093c36359f641a6b0c52ad7b66ec00d733c5
parent515b035155777287a851946c586015023dad034d
pidstat stack utilization statistics were not always properly refreshed

Stack utilization statistics displayed by "pidstat -s" were sometimes
not displayed for some processes although values had changed.
This was because stack stats were displayed together with memory stats,
but pidstat was looking only for a variation in memory counters values
to decide whether to display the corresponding process or not.
So now process memory and stack statistics independently.

Signed-off-by: Sebastien GODARD <sysstat@orange.fr.fake>
pidstat.c
pidstat.h