]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
VIGOR and RPCI definitions for the tools hang detector events.
authorOliver Kurth <okurth@vmware.com>
Fri, 2 Nov 2018 22:28:25 +0000 (15:28 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 2 Nov 2018 22:28:25 +0000 (15:28 -0700)
commit31aaa5cd048bbc6eeb4221df3f92b30c320b132d
tree145752014558741fa08c7c1b3d469d9383e76635
parentf424de6e55bf08833de86b2b62a3797351b3c3d4
VIGOR and RPCI definitions for the tools hang detector events.

Define an array of ToolsHealthEvent to record the last N tools hang
events. By keeping a list of historical events since the power on,
we help ourselves trouble shooting guest/toolsd issues.

Use the first array element for the latest event. This simplifies
implementation as the DynArray can be easily capped by setting the
array count. This requires us to add a PushFront function to add
new element to the front of the DynArray.

Added the RPCI handler for the tools hang detector RPCI messages.

Added feature switch Tools_Update_Health.
open-vm-tools/lib/include/dynarray.h
open-vm-tools/lib/include/vmware/guestrpc/tclodefs.h