LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
2166
2446
88.6 %
Date:
2025-09-11 04:17:34
Functions:
118
121
97.5 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
AdvanceXLInsertBuffer
5368644
BootStrapXLOG
100
CalculateCheckpointSegments
15350
CheckPointGuts
3408
CheckRequiredParameterValues
492
CheckXLogRemoved
245100
CleanupAfterArchiveRecovery
98
CleanupBackupHistory
298
CopyXLogRecordToWAL
29092908
CreateCheckPoint
3034
CreateEndOfRecoveryRecord
84
CreateOverwriteContrecordRecord
24
CreateRestartPoint
1176
DataChecksumsEnabled
20059722
GetActiveWalLevelOnStandby
138
GetDefaultCharSignedness
6
GetFakeLSNForUnloggedRel
66
GetFlushRecPtr
468372
GetFullPageWriteInfo
29391448
GetInsertRecPtr
14132
GetLastImportantRecPtr
3094
GetLastSegSwitchData
0
GetMockAuthenticationNonce
2
GetOldestRestartPoint
788
GetRecoveryState
36916
GetRedoRecPtr
589090
GetSystemIdentifier
2776
GetWALAvailability
1026
GetWALInsertionTimeLine
230230
GetWALInsertionTimeLineIfSet
0
GetXLogBuffer
34001294
GetXLogInsertRecPtr
3978
GetXLogWriteRecPtr
14974
InitControlFile
100
InitializeWalConsistencyChecking
1870
InstallXLogFileSegment
5706
IsInstallXLogFileSegmentActive
0
KeepLogSeg
4370
LocalProcessControlFile
1890
LocalSetXLogInsertAllowed
1830
LogCheckpointEnd
3408
LogCheckpointStart
2824
PerformRecoveryXLogAction
310
PreallocXlogFiles
3938
ReachedEndOfBackup
144
ReadControlFile
1990
RecoveryInProgress
176681104
RecoveryRestartPoint
1412
RemoveNonParentXlogFiles
120
RemoveOldXlogFiles
3408
RemoveTempXlogFiles
352
RemoveXlogFile
5072
RequestXLogSwitch
1556
ReserveXLogInsertLocation
29091468
ReserveXLogSwitch
1556
SetInstallXLogFileSegmentActive
2220
SetWalWriterSleeping
968
ShutdownXLOG
1294
StartupXLOG
1892
SwitchIntoArchiveRecovery
4
UpdateCheckPointDistanceEstimate
3408
UpdateControlFile
17938
UpdateFullPageWrites
2954
UpdateLastRemovedPtr
5040
UpdateMinRecoveryPoint
208496
ValidateXLOGDirectoryStructure
1892
WALInsertLockAcquire
29105002
WALInsertLockAcquireExclusive
8562
WALInsertLockRelease
29113564
WALInsertLockUpdateInsertingAt
5359726
WALReadFromBuffers
194038
WaitXLogInsertionsToFinish
4883908
WriteControlFile
100
XLOGChooseNumBuffers
2170
XLOGShmemInit
2174
XLOGShmemSize
6222
XLOGfileslop
3408
XLogBackgroundFlush
40588
XLogBytePosToEndRecPtr
29938072
XLogBytePosToRecPtr
58191036
XLogCheckpointNeeded
10158
XLogFileClose
12218
XLogFileCopy
82
XLogFileInit
28032
XLogFileInitInternal
28534
XLogFileOpen
160
XLogFlush
1352034
XLogGetLastRemovedSegno
2162
XLogGetOldestSegno
10
XLogGetReplicationSlotMinimumLSN
4370
XLogInitNewTimeline
98
XLogInsertAllowed
60806682
XLogInsertRecord
29108324
XLogNeedsFlush
17418902
XLogPutNextOid
1206
XLogRecPtrToBytePos
4984
XLogReportParameters
1772
XLogRestorePoint
6
XLogSetAsyncXactLSN
94818
XLogSetReplicationSlotMinimumLSN
48674
XLogShutdownWalRcv
2116
XLogWrite
4186628
assign_checkpoint_completion_target
2248
assign_max_wal_size
11112
assign_wal_consistency_checking
4038
assign_wal_sync_method
2248
check_wal_buffers
4418
check_wal_consistency_checking
4040
check_wal_segment_size
4340
do_pg_abort_backup
16
do_pg_backup_start
326
do_pg_backup_stop
312
get_backup_status
366
get_sync_bit
31392
issue_xlog_fsync
307666
register_persistent_abort_backup_handler
8
show_archive_command
3464
show_in_hot_standby
29928
str_time
1672
update_checkpoint_display
6816
xlog_redo
86264
Generated by:
LCOV version 1.16