LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 2189 2468 88.7 %
Date: 2025-08-17 17:17:31 Functions: 118 121 97.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdvanceXLInsertBuffer 5044594
BootStrapXLOG 100
CalculateCheckpointSegments 15160
CheckPointGuts 3368
CheckRequiredParameterValues 492
CheckXLogRemoved 231792
CleanupAfterArchiveRecovery 96
CleanupBackupHistory 300
CopyXLogRecordToWAL 29063664
CreateCheckPoint 2994
CreateEndOfRecoveryRecord 82
CreateOverwriteContrecordRecord 22
CreateRestartPoint 1164
DataChecksumsEnabled 19559940
GetActiveWalLevelOnStandby 138
GetDefaultCharSignedness 6
GetFakeLSNForUnloggedRel 66
GetFlushRecPtr 425454
GetFullPageWriteInfo 29363596
GetInsertRecPtr 16532
GetLastImportantRecPtr 3070
GetLastSegSwitchData 0
GetMockAuthenticationNonce 2
GetOldestRestartPoint 798
GetRecoveryState 48064
GetRedoRecPtr 588734
GetSystemIdentifier 2752
GetWALAvailability 996
GetWALInsertionTimeLine 213072
GetWALInsertionTimeLineIfSet 0
GetXLogBuffer 33972642
GetXLogInsertRecPtr 3952
GetXLogWriteRecPtr 3002
InitControlFile 100
InitializeWalConsistencyChecking 1824
InstallXLogFileSegment 5740
IsInstallXLogFileSegmentActive 0
KeepLogSeg 4324
LocalProcessControlFile 1844
LocalSetXLogInsertAllowed 1782
LogCheckpointEnd 3368
LogCheckpointStart 2784
PerformRecoveryXLogAction 308
PreallocXlogFiles 3896
ReachedEndOfBackup 142
ReadControlFile 1944
RecoveryInProgress 174943566
RecoveryRestartPoint 1414
RemoveNonParentXlogFiles 118
RemoveOldXlogFiles 3368
RemoveTempXlogFiles 350
RemoveXlogFile 5032
RequestXLogSwitch 1556
ReserveXLogInsertLocation 29062226
ReserveXLogSwitch 1556
SetInstallXLogFileSegmentActive 2184
SetWalWriterSleeping 952
ShutdownXLOG 1248
StartupXLOG 1844
SwitchIntoArchiveRecovery 4
UpdateCheckPointDistanceEstimate 3368
UpdateControlFile 17958
UpdateFullPageWrites 2880
UpdateLastRemovedPtr 5000
UpdateMinRecoveryPoint 213618
ValidateXLOGDirectoryStructure 1844
WALInsertLockAcquire 29075566
WALInsertLockAcquireExclusive 8492
WALInsertLockRelease 29084058
WALInsertLockUpdateInsertingAt 5034936
WALReadFromBuffers 195916
WaitXLogInsertionsToFinish 4210702
WriteControlFile 100
XLOGChooseNumBuffers 2124
XLOGShmemInit 2128
XLOGShmemSize 6084
XLOGfileslop 3368
XLogBackgroundFlush 32994
XLogBytePosToEndRecPtr 29853482
XLogBytePosToRecPtr 58132476
XLogCheckpointNeeded 10228
XLogFileClose 12558
XLogFileCopy 74
XLogFileInit 28228
XLogFileInitInternal 28732
XLogFileOpen 188
XLogFlush 1362758
XLogGetLastRemovedSegno 2148
XLogGetOldestSegno 10
XLogGetReplicationSlotMinimumLSN 4324
XLogInitNewTimeline 96
XLogInsertAllowed 60757738
XLogInsertRecord 29078898
XLogNeedsFlush 17172912
XLogPutNextOid 1194
XLogRecPtrToBytePos 4886
XLogReportParameters 1724
XLogRestorePoint 6
XLogSetAsyncXactLSN 94668
XLogSetReplicationSlotMinimumLSN 59170
XLogShutdownWalRcv 2092
XLogWrite 4138434
assign_checkpoint_completion_target 2202
assign_max_wal_size 11014
assign_wal_consistency_checking 3992
assign_wal_sync_method 2202
check_wal_buffers 4326
check_wal_consistency_checking 3994
check_wal_segment_size 4248
do_pg_abort_backup 14
do_pg_backup_start 326
do_pg_backup_stop 314
get_backup_status 364
get_sync_bit 31580
issue_xlog_fsync 318222
register_persistent_abort_backup_handler 6
show_archive_command 3442
show_in_hot_standby 29846
str_time 1644
update_checkpoint_display 6736
xlog_redo 87386

Generated by: LCOV version 1.16