LCOV - code coverage report
Current view: top level - src/backend/storage/lmgr - lock.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1126 1296 86.9 %
Date: 2025-11-30 09:18:54 Functions: 57 61 93.4 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AbortStrongLockAcquire 1260204
AtPrepare_Locks 628
BeginStrongLockAcquire 376802
CheckAndSetLockHeld 80849296
CheckForSessionAndXactLocks 628
CleanUpLock 4940822
DoLockModesConflict 488
FastPathGetRelationLockEntry 662
FastPathGrantRelationLock 34808546
FastPathTransferRelationLocks 376802
FastPathUnGrantRelationLock 35188418
FinishStrongLockAcquire 5008618
GetAwaitedLock 1258774
GetBlockerStatusData 3904
GetLockConflicts 2924
GetLockStatusData 562
GetLockTagsMethodTable 2362
GetLockmodeName 22604
GetLocksMethodTable 214
GetRunningTransactionLocks 2758
GetSingleProcBlockerStatusData 3976
GrantAwaitedLock 0
GrantLock 5012264
GrantLockLocal 44161348
InitLockManagerAccess 45770
LockAcquire 1911674
LockAcquireExtended 44162886
LockCheckConflicts 5012676
LockHasWaiters 0
LockHeldByMe 0
LockManagerShmemInit 2204
LockManagerShmemSize 4108
LockReassignCurrentOwner 706540
LockReassignOwner 1010924
LockRefindAndRelease 4478
LockRelease 39405626
LockReleaseAll 2431878
LockReleaseCurrentOwner 10720
LockReleaseSession 238
LockTagHashCode 41012010
LockWaiterCount 135118
MarkLockClear 38353322
PostPrepare_Locks 624
ProcLockHashCode 9597902
ReleaseLockIfHeld 5926
RemoveFromWaitQueue 92
RemoveLocalLock 39818702
ResetAwaitedLock 82
SetupLockInTable 5013622
UnGrantLock 5012138
VirtualXactLock 612
VirtualXactLockTableCleanup 1198076
VirtualXactLockTableInsert 1197132
WaitOnLock 2578
XactLockForVirtualXact 532
lock_twophase_postabort 312
lock_twophase_postcommit 1684
lock_twophase_recover 180
lock_twophase_standby_recover 0
proclock_hash 1506
waitonlock_error_callback 1374

Generated by: LCOV version 1.16