LCOV - code coverage report
Current view:
top level
-
src/backend/storage/buffer
- bufmgr.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
1715
1898
90.4 %
Date:
2025-11-29 07:18:07
Functions:
115
122
94.3 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
AbortBufferIO
30
AsyncReadBuffers
2532346
AtEOXact_Buffers
1053816
AtProcExit_Buffers
44940
BgBufferSync
27436
BufferAlloc
121861944
BufferGetBlockNumber
101326110
BufferGetLSNAtomic
13972062
BufferGetTag
30234508
BufferIsDirty
0
BufferIsLockedByMe
0
BufferIsLockedByMeInMode
0
BufferIsPermanent
18850324
BufferSync
3474
CheckBufferIsPinnedOnce
5188594
CheckForBufferLeaks
1098756
CheckPointBuffers
3474
CheckReadBuffersOperation
7583356
ConditionalLockBuffer
3244188
ConditionalLockBufferForCleanup
1355656
CreateAndCopyRelationData
112488
DebugPrintBufferRefcount
80
DropDatabaseBuffers
146
DropRelationBuffers
1260
DropRelationsAllBuffers
27464
EvictAllUnpinnedBuffers
2
EvictRelUnpinnedBuffers
2
EvictUnpinnedBuffer
280
EvictUnpinnedBufferInternal
4282
ExtendBufferedRel
91444
ExtendBufferedRelBy
320764
ExtendBufferedRelCommon
428314
ExtendBufferedRelShared
405496
ExtendBufferedRelTo
103272
FindAndDropRelationBuffers
1588
FlushBuffer
1122624
FlushDatabaseBuffers
10
FlushOneBuffer
158
FlushRelationBuffers
276
FlushRelationsAllBuffers
24
FlushUnlockedBuffer
607870
ForgetPrivateRefCountEntry
118619136
GetAdditionalPinLimit
8072974
GetPinLimit
1273940
GetPrivateRefCount
6545112
GetPrivateRefCountEntry
292886908
GetVictimBuffer
3862122
HoldingBufferPinThatDelaysRecovery
6
IncrBufferRefCount
23179186
InitBufferManagerAccess
44940
InvalidateBuffer
211222
InvalidateVictimBuffer
2403372
IsBufferCleanupOK
4050
IssuePendingWritebacks
2140
LimitAdditionalPins
405496
LockBufHdr
64272470
LockBuffer
347047844
LockBufferForCleanup
43018
MarkBufferDirty
43323420
MarkBufferDirtyHint
19859276
MarkDirtyAllUnpinnedBuffers
2
MarkDirtyRelUnpinnedBuffers
2
MarkDirtyUnpinnedBuffer
2
MarkDirtyUnpinnedBufferInternal
72
NewPrivateRefCountEntry
118619136
PinBuffer
118458238
PinBufferForBlock
124415986
PinBuffer_Locked
610278
PrefetchBuffer
41140
PrefetchSharedBuffer
62524
ProcessReadBuffersResult
2524490
ReadBuffer
86474726
ReadBufferExtended
104610334
ReadBufferWithoutRelcache
11422314
ReadBuffer_common
116032662
ReadBuffersCanStartIO
2869580
ReadBuffersCanStartIOOnce
2869580
ReadRecentBuffer
9012
RelationCopyStorageUsingBuffer
149644
RelationGetNumberOfBlocksInFork
3722522
ReleaseAndReadBuffer
57648034
ReleaseBuffer
125334508
ResOwnerPrintBufferIO
0
ResOwnerPrintBufferPin
0
ResOwnerReleaseBufferIO
30
ResOwnerReleaseBufferPin
15180
ReservePrivateRefCountEntry
130594012
ScheduleBufferTagForWriteback
1112114
StartBufferIO
4990630
StartReadBuffer
119389100
StartReadBuffers
4047848
StartReadBuffersImpl
123436948
SyncOneBuffer
4355858
TerminateBufferIO
4706654
TrackNewBufferPin
118619136
UnlockBuffers
105412
UnlockReleaseBuffer
38533384
UnpinBuffer
145404630
UnpinBufferNoOwner
145413744
WaitBufHdrUnlocked
922
WaitIO
6878
WaitReadBuffers
2524472
WakePinCountWaiter
138
WritebackContextInit
5428
ZeroAndLockBuffer
641816
buffer_readv_complete
2315542
buffer_readv_complete_one
2585914
buffer_readv_decode_error
698
buffer_readv_encode_error
384
buffer_readv_report
544
buffer_stage_common
2525296
buffertag_comparator
0
ckpt_buforder_comparator
6003506
local_buffer_readv_complete
3612
local_buffer_readv_stage
3612
local_buffer_write_error_callback
0
rlocator_comparator
19415510
shared_buffer_readv_complete
2311930
shared_buffer_readv_complete_local
2521684
shared_buffer_readv_stage
2521684
shared_buffer_write_error_callback
92
ts_ckpt_progress_comparator
489108
Generated by:
LCOV version 1.16