LCOV - code coverage report
Current view: top level - src/backend/storage/buffer - bufmgr.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1344 1532 87.7 %
Date: 2025-01-18 06:14:50 Functions: 86 94 91.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
BufferIsDirty 0
BufferIsExclusiveLocked 0
DebugPrintBufferRefcount 0
EvictUnpinnedBuffer 0
ResOwnerPrintBufferIO 0
ResOwnerPrintBufferPin 0
buffertag_comparator 0
local_buffer_write_error_callback 0
FlushDatabaseBuffers 8
HoldingBufferPinThatDelaysRecovery 8
FlushRelationsAllBuffers 18
AbortBufferIO 30
ResOwnerReleaseBufferIO 30
FlushOneBuffer 58
shared_buffer_write_error_callback 78
DropDatabaseBuffers 110
FlushRelationBuffers 276
DropRelationBuffers 1166
FindAndDropRelationBuffers 1576
IssuePendingWritebacks 1880
BufferSync 2482
CheckPointBuffers 2482
WaitIO 3406
IsBufferCleanupOK 4030
WritebackContextInit 4698
WaitBufHdrUnlocked 4862
ResOwnerReleaseBufferPin 9012
ReadRecentBuffer 9248
BgBufferSync 17672
DropRelationsAllBuffers 25488
AtProcExit_Buffers 34670
InitBufferManagerAccess 34670
LockBufferForCleanup 36114
ExtendBufferedRel 89614
UnlockBuffers 91030
ExtendBufferedRelTo 97328
CreateAndCopyRelationData 98144
RelationCopyStorageUsingBuffer 130560
InvalidateBuffer 194022
ExtendBufferedRelBy 289596
ExtendBufferedRelShared 373212
PrefetchBuffer 388602
ExtendBufferedRelCommon 390904
PrefetchSharedBuffer 404298
ts_ckpt_progress_comparator 405144
ZeroAndLockBuffer 557268
AtEOXact_Buffers 789130
CheckForBufferLeaks 823800
ConditionalLockBufferForCleanup 837462
ScheduleBufferTagForWriteback 948672
FlushBuffer 955916
LimitAdditionalPins 1133620
StartReadBuffers 2162638
InvalidateVictimBuffer 2221696
WaitReadBuffers 2278524
WaitReadBuffersCanStartIO 2521454
ConditionalLockBuffer 2719546
RelationGetNumberOfBlocksInFork 3121750
SyncOneBuffer 3266980
GetVictimBuffer 3408644
CheckBufferIsPinnedOnce 3456276
PinBuffer_Locked 3941388
GetPrivateRefCount 4305408
TerminateBufferIO 4363944
StartBufferIO 4367986
ckpt_buforder_comparator 5173536
ReadBufferWithoutRelcache 10972312
BufferGetLSNAtomic 15736594
rlocator_comparator 18432052
BufferIsPermanent 18547600
MarkBufferDirtyHint 19369942
IncrBufferRefCount 19872340
BufferGetTag 28489950
UnlockReleaseBuffer 35419910
MarkBufferDirty 40662366
ReleaseAndReadBuffer 50742834
LockBufHdr 64686840
ReadBuffer 76720196
BufferGetBlockNumber 88410146
ReadBufferExtended 93558078
ReadBuffer_common 104530406
ForgetPrivateRefCountEntry 104981234
NewPrivateRefCountEntry 104981234
PinBuffer 105200454
StartReadBuffer 107354792
BufferAlloc 108194792
StartReadBuffersImpl 109517430
PinBufferForBlock 110319572
ReleaseBuffer 110864520
ReservePrivateRefCountEntry 115317038
UnpinBuffer 128307982
UnpinBufferNoOwner 128316228
GetPrivateRefCountEntry 256996476
LockBuffer 314227602

Generated by: LCOV version 1.14