From: VMware, Inc <> Date: Fri, 12 Apr 2013 19:52:01 +0000 (-0700) Subject: hanges in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2013.04.16-1098359~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a110ca83f9dbb4595027ec2a88c4c0ce1fb24d5a;p=thirdparty%2Fopen-vm-tools.git hanges in shared code that don't affect open-vm-tools functionality. Signed-off-by: Dmitry Torokhov --- diff --git a/open-vm-tools/modules/shared/vmxnet/vmxnet2_def.h b/open-vm-tools/modules/shared/vmxnet/vmxnet2_def.h index 23b36e2ee..4dd8a3c95 100644 --- a/open-vm-tools/modules/shared/vmxnet/vmxnet2_def.h +++ b/open-vm-tools/modules/shared/vmxnet/vmxnet2_def.h @@ -208,22 +208,6 @@ typedef struct Vmxnet2_ImplData { struct PhysMem_TokenList *ddPhysMemTokenList; } Vmxnet2_ImplData; -/* - * Used internally for performance studies. By default this will be off so there - * should be no compatibilty or other interferences. - */ - -/* #define ENABLE_VMXNET2_PROFILING */ - - -#ifdef ENABLE_VMXNET2_PROFILING -typedef struct Vmxnet2_VmmStats { - uint64 vIntTSC; /* the time that virtual int was posted */ - uint64 actionsCount; /* Number of actions received */ - uint64 numWasteActions; /* Number of non-productive actions */ -} Vmxnet2_VmmStats; -#endif - typedef struct Vmxnet2_DriverStats { uint32 transmits; /* # of times that the drivers transmit function */ /* is called. The driver could transmit more */ @@ -245,10 +229,6 @@ typedef struct Vmxnet2_DriverStats { uint32 interrupts; /* # of times interrupted. */ uint32 pktsReceived; /* # of packets received. */ uint32 rxBuffersLow; /* # of times that the driver was low on */ - /* receive buffers. */ -#ifdef ENABLE_VMXNET2_PROFILING - Vmxnet2_VmmStats vmmStats; /* vmm related stats for perf study */ -#endif } Vmxnet2_DriverStats; /*