LCOV - code coverage report
Current view: top level - src/backend/storage/buffer - bufmgr.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1641 1788 91.8 %
Date: 2025-04-04 02:15:58 Functions: 106 112 94.6 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AbortBufferIO 30
AsyncReadBuffers 2461812
AtEOXact_Buffers 857832
AtProcExit_Buffers 42658
BgBufferSync 19710
BufferAlloc 116770094
BufferGetBlockNumber 97906258
BufferGetLSNAtomic 17413636
BufferGetTag 29788468
BufferIsDirty 0
BufferIsExclusiveLocked 0
BufferIsPermanent 20098480
BufferSync 2644
CheckBufferIsPinnedOnce 4625056
CheckForBufferLeaks 900490
CheckPointBuffers 2644
CheckReadBuffersOperation 7377642
ConditionalLockBuffer 3107200
ConditionalLockBufferForCleanup 919450
CreateAndCopyRelationData 105768
DebugPrintBufferRefcount 80
DropDatabaseBuffers 138
DropRelationBuffers 1184
DropRelationsAllBuffers 27626
EvictUnpinnedBuffer 278
ExtendBufferedRel 92220
ExtendBufferedRelBy 318172
ExtendBufferedRelCommon 423030
ExtendBufferedRelShared 400330
ExtendBufferedRelTo 100814
FindAndDropRelationBuffers 1650
FlushBuffer 1026044
FlushDatabaseBuffers 8
FlushOneBuffer 158
FlushRelationBuffers 286
FlushRelationsAllBuffers 30
ForgetPrivateRefCountEntry 113457322
GetAdditionalPinLimit 7342554
GetPinLimit 990144
GetPrivateRefCount 5553730
GetPrivateRefCountEntry 279651106
GetVictimBuffer 3744816
HoldingBufferPinThatDelaysRecovery 8
IncrBufferRefCount 22120802
InitBufferManagerAccess 42658
InvalidateBuffer 214620
InvalidateVictimBuffer 2357998
IsBufferCleanupOK 4036
IssuePendingWritebacks 2026
LimitAdditionalPins 400330
LockBufHdr 73988800
LockBuffer 338083576
LockBufferForCleanup 36066
MarkBufferDirty 42915180
MarkBufferDirtyHint 20979476
NewPrivateRefCountEntry 113457322
PinBuffer 113478202
PinBufferForBlock 119312078
PinBuffer_Locked 4317456
PrefetchBuffer 41840
PrefetchSharedBuffer 62178
ProcessReadBuffersResult 2456892
ReadBuffer 83242354
ReadBufferExtended 100382336
ReadBufferWithoutRelcache 11214804
ReadBuffer_common 111597152
ReadBuffersCanStartIO 2790082
ReadBuffersCanStartIOOnce 2790082
ReadRecentBuffer 8372
RelationCopyStorageUsingBuffer 140704
RelationGetNumberOfBlocksInFork 3528538
ReleaseAndReadBuffer 54936356
ReleaseBuffer 120256362
ResOwnerPrintBufferIO 0
ResOwnerPrintBufferPin 0
ResOwnerReleaseBufferIO 30
ResOwnerReleaseBufferPin 14558
ReservePrivateRefCountEntry 124754066
ScheduleBufferTagForWriteback 1015462
StartBufferIO 4774526
StartReadBuffer 114704704
StartReadBuffers 3682450
StartReadBuffersImpl 118387154
SyncOneBuffer 3726648
TerminateBufferIO 4489230
UnlockBuffers 100570
UnlockReleaseBuffer 37533952
UnpinBuffer 139198828
UnpinBufferNoOwner 139207416
WaitBufHdrUnlocked 4246
WaitIO 4112
WaitReadBuffers 2456872
WakePinCountWaiter 4
WritebackContextInit 5080
ZeroAndLockBuffer 596666
buffer_readv_complete 2247598
buffer_readv_complete_one 2505056
buffer_readv_decode_error 698
buffer_readv_encode_error 384
buffer_readv_report 544
buffer_stage_common 2457628
buffertag_comparator 0
ckpt_buforder_comparator 5639098
local_buffer_readv_complete 3582
local_buffer_readv_stage 3582
local_buffer_write_error_callback 0
rlocator_comparator 18431226
shared_buffer_readv_complete 2244016
shared_buffer_readv_complete_local 2454046
shared_buffer_readv_stage 2454046
shared_buffer_write_error_callback 76
ts_ckpt_progress_comparator 436032

Generated by: LCOV version 1.14