summaryrefslogtreecommitdiff
path: root/open-vm-tools/lib/include/vmGuestLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'open-vm-tools/lib/include/vmGuestLib.h')
-rw-r--r--open-vm-tools/lib/include/vmGuestLib.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/open-vm-tools/lib/include/vmGuestLib.h b/open-vm-tools/lib/include/vmGuestLib.h
index 0bea8898..59339019 100644
--- a/open-vm-tools/lib/include/vmGuestLib.h
+++ b/open-vm-tools/lib/include/vmGuestLib.h
@@ -1,5 +1,5 @@
/*********************************************************
- * Copyright (C) 2003-2008 VMware, Inc. All rights reserved.
+ * Copyright (C) 2003-2015 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
@@ -459,6 +459,18 @@ VMGuestLib_GetHostMemMappedMB(VMGuestLibHandle handle, // IN
VMGuestLibError
VMGuestLib_GetHostMemUnmappedMB(VMGuestLibHandle handle, // IN
uint64 *hostMemUnmappedMB); // OUT
+
+
+/*
+ * Semi-structured hypervisor stats collection, for troubleshooting.
+ */
+VMGuestLibError
+VMGuestLib_StatGet(const char *encoding, // IN
+ const char *stat, // IN
+ char **reply, // OUT
+ size_t *replySize); // OUT
+void VMGuestLib_StatFree(char *reply, size_t replySize);
+
#ifdef __cplusplus
}
#endif