LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 2174 2455 88.6 %
Date: 2025-12-08 07:18:30 Functions: 119 122 97.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdvanceXLInsertBuffer 5267594
BootStrapXLOG 100
CalculateCheckpointSegments 15830
CheckPointGuts 3460
CheckRequiredParameterValues 498
CheckXLogRemoved 240244
CleanupAfterArchiveRecovery 102
CleanupBackupHistory 302
CopyXLogRecordToWAL 29256032
CreateCheckPoint 3086
CreateEndOfRecoveryRecord 88
CreateOverwriteContrecordRecord 20
CreateRestartPoint 1162
DataChecksumsEnabled 20307950
GetActiveWalLevelOnStandby 138
GetDefaultCharSignedness 6
GetFakeLSNForUnloggedRel 66
GetFlushRecPtr 483642
GetFullPageWriteInfo 29557134
GetInsertRecPtr 17464
GetLastImportantRecPtr 3170
GetLastSegSwitchData 0
GetMockAuthenticationNonce 2
GetOldestRestartPoint 782
GetRecoveryState 34920
GetRedoRecPtr 594064
GetSystemIdentifier 2826
GetWALAvailability 1080
GetWALInsertionTimeLine 221856
GetWALInsertionTimeLineIfSet 0
GetXLogBuffer 34214544
GetXLogInsertRecPtr 4004
GetXLogWriteRecPtr 17988
InitControlFile 100
InitializeWalConsistencyChecking 1902
InstallXLogFileSegment 5954
IsInstallXLogFileSegmentActive 0
KeepLogSeg 4470
LocalProcessControlFile 1922
LocalSetXLogInsertAllowed 1860
LogCheckpointEnd 3460
LogCheckpointStart 2876
PerformRecoveryXLogAction 316
PreallocXlogFiles 4004
ReachedEndOfBackup 146
ReadControlFile 2022
RecoveryInProgress 162234442
RecoveryRestartPoint 1428
RemoveNonParentXlogFiles 124
RemoveOldXlogFiles 3460
RemoveTempXlogFiles 356
RemoveXlogFile 5140
RequestXLogSwitch 1566
ReserveXLogInsertLocation 29254582
ReserveXLogSwitch 1566
ResetInstallXLogFileSegmentActive 2198
SetInstallXLogFileSegmentActive 2298
SetWalWriterSleeping 1018
ShutdownXLOG 1314
StartupXLOG 1922
SwitchIntoArchiveRecovery 4
UpdateCheckPointDistanceEstimate 3460
UpdateControlFile 18350
UpdateFullPageWrites 3010
UpdateLastRemovedPtr 5108
UpdateMinRecoveryPoint 215236
ValidateXLOGDirectoryStructure 1922
WALInsertLockAcquire 29268376
WALInsertLockAcquireExclusive 8700
WALInsertLockRelease 29277076
WALInsertLockUpdateInsertingAt 5257630
WALReadFromBuffers 195012
WaitXLogInsertionsToFinish 4820924
WriteControlFile 100
XLOGChooseNumBuffers 2202
XLOGShmemInit 2206
XLOGShmemSize 6318
XLOGfileslop 3460
XLogBackgroundFlush 44656
XLogBytePosToEndRecPtr 30133296
XLogBytePosToRecPtr 58517326
XLogCheckpointNeeded 10316
XLogFileClose 12730
XLogFileCopy 82
XLogFileInit 28738
XLogFileInitInternal 29240
XLogFileOpen 308
XLogFlush 1384442
XLogGetLastRemovedSegno 2226
XLogGetOldestSegno 12
XLogGetReplicationSlotMinimumLSN 4470
XLogInitNewTimeline 102
XLogInsertAllowed 78454976
XLogInsertRecord 29271746
XLogNeedsFlush 17288640
XLogPutNextOid 1228
XLogRecPtrToBytePos 5058
XLogReportParameters 1804
XLogRestorePoint 6
XLogSetAsyncXactLSN 95270
XLogSetReplicationSlotMinimumLSN 50822
XLogShutdownWalRcv 1914
XLogWrite 4225938
assign_checkpoint_completion_target 2280
assign_max_wal_size 11528
assign_wal_consistency_checking 4162
assign_wal_sync_method 2280
check_wal_buffers 4482
check_wal_consistency_checking 4164
check_wal_segment_size 4404
do_pg_abort_backup 14
do_pg_backup_start 328
do_pg_backup_stop 316
get_backup_status 366
get_sync_bit 32204
issue_xlog_fsync 312698
register_persistent_abort_backup_handler 6
show_archive_command 3468
show_in_hot_standby 30434
str_time 1702
update_checkpoint_display 6920
xlog_redo 88320

Generated by: LCOV version 1.16