]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Handle Linux kernel /proc FS uint32 type stat overflow when calculating tools rate...
authorOliver Kurth <okurth@vmware.com>
Fri, 26 Oct 2018 17:44:57 +0000 (10:44 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 26 Oct 2018 17:44:57 +0000 (10:44 -0700)
commit45f0733b4eeb4b46f820a5db911917cfbb769d37
tree7b21e66a0e61ad66ebf968632bf48901373d6d97
parent570578fcf07fab60cf28f6e9396473c9ba8a815b
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