LCOV - code coverage report
Current view:
top level
-
src/backend/storage/buffer
- bufmgr.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 18devel
Lines:
1642
1788
91.8 %
Date:
2025-04-03 08:15:21
Functions:
106
112
94.6 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
BufferIsDirty
0
BufferIsExclusiveLocked
0
ResOwnerPrintBufferIO
0
ResOwnerPrintBufferPin
0
buffertag_comparator
0
local_buffer_write_error_callback
0
WakePinCountWaiter
6
FlushDatabaseBuffers
8
HoldingBufferPinThatDelaysRecovery
8
AbortBufferIO
30
ResOwnerReleaseBufferIO
30
FlushRelationsAllBuffers
38
shared_buffer_write_error_callback
76
DebugPrintBufferRefcount
80
DropDatabaseBuffers
136
FlushOneBuffer
158
EvictUnpinnedBuffer
278
FlushRelationBuffers
288
buffer_readv_encode_error
384
buffer_readv_report
544
buffer_readv_decode_error
698
DropRelationBuffers
1232
FindAndDropRelationBuffers
1684
IssuePendingWritebacks
2038
BufferSync
2648
CheckPointBuffers
2648
IsBufferCleanupOK
3312
WaitIO
3468
local_buffer_readv_complete
3572
local_buffer_readv_stage
3572
WritebackContextInit
5092
WaitBufHdrUnlocked
5366
ReadRecentBuffer
8228
ResOwnerReleaseBufferPin
14570
BgBufferSync
20780
DropRelationsAllBuffers
27790
LockBufferForCleanup
39458
AtProcExit_Buffers
40118
InitBufferManagerAccess
40118
PrefetchBuffer
42164
PrefetchSharedBuffer
62414
ExtendBufferedRel
92798
UnlockBuffers
98022
ExtendBufferedRelTo
99704
CreateAndCopyRelationData
105768
RelationCopyStorageUsingBuffer
140704
InvalidateBuffer
213710
ExtendBufferedRelBy
317920
ExtendBufferedRelShared
399044
LimitAdditionalPins
399044
ExtendBufferedRelCommon
421764
ts_ckpt_progress_comparator
436126
ZeroAndLockBuffer
605256
AtEOXact_Buffers
854270
ConditionalLockBufferForCleanup
856396
CheckForBufferLeaks
894388
GetPinLimit
984820
ScheduleBufferTagForWriteback
1039848
FlushBuffer
1050544
shared_buffer_readv_complete
2224378
buffer_readv_complete
2227950
InvalidateVictimBuffer
2341676
shared_buffer_readv_complete_local
2433928
shared_buffer_readv_stage
2433928
WaitReadBuffers
2436738
ProcessReadBuffersResult
2436758
buffer_stage_common
2437500
AsyncReadBuffers
2440976
buffer_readv_complete_one
2485460
ReadBuffersCanStartIO
2769398
ReadBuffersCanStartIOOnce
2769398
ConditionalLockBuffer
3048934
RelationGetNumberOfBlocksInFork
3516992
StartReadBuffers
3550364
GetVictimBuffer
3731534
SyncOneBuffer
3786552
PinBuffer_Locked
4309098
TerminateBufferIO
4500848
CheckBufferIsPinnedOnce
4551488
StartBufferIO
4785048
GetPrivateRefCount
5416244
ckpt_buforder_comparator
5619756
GetAdditionalPinLimit
7078500
CheckReadBuffersOperation
7316538
ReadBufferWithoutRelcache
11267582
BufferGetLSNAtomic
17248106
rlocator_comparator
18430742
BufferIsPermanent
19834986
MarkBufferDirtyHint
20715628
IncrBufferRefCount
21927382
BufferGetTag
29862880
UnlockReleaseBuffer
37592194
MarkBufferDirty
43345966
ReleaseAndReadBuffer
54507000
LockBufHdr
73910988
ReadBuffer
82919960
BufferGetBlockNumber
97727246
ReadBufferExtended
100114308
ReadBuffer_common
111381900
ForgetPrivateRefCountEntry
113038166
NewPrivateRefCountEntry
113038166
PinBuffer
113125910
StartReadBuffer
114467284
BufferAlloc
116405862
StartReadBuffersImpl
118017648
PinBufferForBlock
118951314
ReleaseBuffer
119827756
ReservePrivateRefCountEntry
124434892
UnpinBuffer
138644746
UnpinBufferNoOwner
138653346
GetPrivateRefCountEntry
278413838
LockBuffer
337444594
Generated by:
LCOV version 1.14