LCOV - code coverage report
Current view: top level - src/backend/storage/lmgr - lock.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1130 1296 87.2 %
Date: 2025-08-31 05:17:58 Functions: 58 61 95.1 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
LockHasWaiters 0
LockHeldByMe 0
lock_twophase_standby_recover 0
GrantAwaitedLock 2
ResetAwaitedLock 82
RemoveFromWaitQueue 90
waitonlock_error_callback 128
lock_twophase_recover 180
GetLocksMethodTable 208
LockReleaseSession 238
lock_twophase_postabort 248
DoLockModesConflict 488
GetLockStatusData 556
PostPrepare_Locks 576
AtPrepare_Locks 580
CheckForSessionAndXactLocks 580
FastPathGetRelationLockEntry 596
XactLockForVirtualXact 626
VirtualXactLock 706
proclock_hash 1298
lock_twophase_postcommit 1426
LockManagerShmemInit 2152
GetLockTagsMethodTable 2262
WaitOnLock 2618
GetRunningTransactionLocks 2732
GetLockConflicts 2740
LockManagerShmemSize 4004
GetBlockerStatusData 4168
LockRefindAndRelease 4240
GetSingleProcBlockerStatusData 4242
ReleaseLockIfHeld 5806
LockReleaseCurrentOwner 10684
GetLockmodeName 19046
InitLockManagerAccess 43380
LockWaiterCount 133280
BeginStrongLockAcquire 371166
FastPathTransferRelationLocks 371166
LockReassignCurrentOwner 695138
LockReassignOwner 1000090
VirtualXactLockTableInsert 1036390
VirtualXactLockTableCleanup 1037338
GetAwaitedLock 1096526
AbortStrongLockAcquire 1098020
LockAcquire 1743584
LockReleaseAll 2108322
CleanUpLock 4671070
FinishStrongLockAcquire 4737918
UnGrantLock 4741392
GrantLock 4741524
LockCheckConflicts 4742062
SetupLockInTable 4742944
ProcLockHashCode 9058302
FastPathGrantRelationLock 32730784
FastPathUnGrantRelationLock 33111552
MarkLockClear 36098724
LockRelease 37064942
RemoveLocalLock 37470304
LockTagHashCode 38624428
GrantLockLocal 41557092
LockAcquireExtended 41558692
CheckAndSetLockHeld 76100216

Generated by: LCOV version 1.16