]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Thu, 17 Jun 2010 22:00:21 +0000 (15:00 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Thu, 17 Jun 2010 22:00:21 +0000 (15:00 -0700)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/include/userlock.h
open-vm-tools/lib/lock/ulIntShared.h

index cd6571781ee8108dbe4da9682d434020a469a5b4..88d76ae5f14a24fba4fca12a8431e252fb80d365 100644 (file)
@@ -176,7 +176,11 @@ void MXUser_TryAcquireFailureControl(Bool (*func)(const char *lockName));
 #if defined(MXUSER_STATS)
 void MXUser_StatisticsControl(double contentionRatio,
                               uint64 minCount);
-void MXUser_LogStats(unsigned epoch);
+
+void MXUser_PerLockData(unsigned epoch);
+void MXUser_PerThreadData(VThreadID tid,
+                          uint64 *totalAcquisitions,
+                          uint64 *contendedAcquisitions);
 #endif
 
 void MXUser_SetInPanic(void);
index 1feae6a5452b34bb9ef4f2e647f9a901b869ff5c..08604a48549a676632612969affa27a1a32ab4eb 100644 (file)
@@ -23,8 +23,6 @@ extern void (*MXUserVThreadWatchDog)(void);
 
 extern void MXUserListLocks(void);
 
-extern void MXUserPerThreadData(VThreadID, uint64 *, uint64 *);
-
 extern void MXUserInstallMxHooks(void (*theLockListFunc)(void),
                                  MX_Rank (*theRankFunc)(void),
                                  void (*theLockFunc)(struct MX_MutexRec *lock),