From: Katy Feng Date: Tue, 29 Nov 2022 20:11:42 +0000 (-0800) Subject: Change to common header file not applicable to open-vm-tools. X-Git-Tag: stable-12.2.0~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a94ee4524da9c794a68d6b2e7106d719209d93e;p=thirdparty%2Fopen-vm-tools.git Change to common header file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/log.h b/open-vm-tools/lib/include/log.h index 21e9e7b75..2d3369a8a 100644 --- a/open-vm-tools/lib/include/log.h +++ b/open-vm-tools/lib/include/log.h @@ -443,14 +443,20 @@ Log_SetOutputLevel(LogOutput *output, int32 level); /* - * Structure contains all the pointers to where value can be updated + * Structure contains all the pointers to where value can be updated. * Making VmxStats as a struct has its own advantage, such as updating * 'droppedChars' from the struct instead within LogFile. */ + +struct VmxStatMinMax64; + typedef struct { - uint64 *numTimesDrop; // total time char dropped - uint64 *droppedChars; // Number of drop char - uint64 *bytesLogged; // Total logged + uint64 *logMsgsDropped; // Number of dropped messages + uint64 *logBytesDropped; // Number of drop bytes + uint64 *logBytesLogged; // Bytes logged + + struct VmxStatMinMax64 *logWriteMinMaxTime; // Min/max write time in US + uint64 *logWriteAvgTime; // Average time to write in US } VmxStatsInfo; Bool @@ -600,9 +606,6 @@ Log_SkipLocking(Bool skipLocking); void Log_DisableThrottling(void); -void -Log_DisableVmxStats(void); - uint32 Log_MaxLineLength(void);