]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Handle Linux kernel /proc FS uint32 type stat overflow when calculating
authorOliver Kurth <okurth@vmware.com>
Mon, 17 Sep 2018 23:41:18 +0000 (16:41 -0700)
committerOliver Kurth <okurth@vmware.com>
Mon, 17 Sep 2018 23:41:18 +0000 (16:41 -0700)
commitc7a186e204cdff46b5e02bcb5208ef8979eaf261
treef20e3bbcf99145267602a62a3a6ab7af943a09a5
parent064d0a3458991f0c34a397664b6b5cd8cc00e5b3
Handle Linux kernel /proc FS uint32 type stat overflow when calculating
tools rate stats.

On both 32-bit and 64-bit Linux, tools always parses Linux kernel /proc
FS stats as uint64 values.  For rate stats, current - previous can handle
uint64 type stat overflow, but not uint32 type.
open-vm-tools/services/plugins/guestInfo/perfMonLinux.c