LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 2201 2480 88.8 %
Date: 2025-07-07 19:17:46 Functions: 119 122 97.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdvanceXLInsertBuffer 4978326
BootStrapXLOG 102
CalculateCheckpointSegments 14754
CheckPointGuts 3368
CheckRequiredParameterValues 490
CheckXLogRemoved 243668
CleanupAfterArchiveRecovery 98
CleanupBackupHistory 296
CopyXLogRecordToWAL 29197954
CreateCheckPoint 2994
CreateEndOfRecoveryRecord 84
CreateOverwriteContrecordRecord 20
CreateRestartPoint 1164
DataChecksumsEnabled 19717362
GetActiveWalLevelOnStandby 138
GetDefaultCharSignedness 6
GetFakeLSNForUnloggedRel 66
GetFlushRecPtr 439100
GetFullPageWriteInfo 29498472
GetInsertRecPtr 16668
GetLastImportantRecPtr 3074
GetLastSegSwitchData 0
GetMockAuthenticationNonce 2
GetOldestRestartPoint 800
GetRecoveryState 37332
GetRedoRecPtr 594408
GetSystemIdentifier 2720
GetWALAvailability 962
GetWALInsertionTimeLine 225488
GetWALInsertionTimeLineIfSet 0
GetXLogBuffer 33964970
GetXLogInsertRecPtr 3952
GetXLogWriteRecPtr 2896
InitControlFile 102
InitializeWalConsistencyChecking 1824
InstallXLogFileSegment 5776
IsInstallXLogFileSegmentActive 0
KeepLogSeg 4304
LocalProcessControlFile 1844
LocalSetXLogInsertAllowed 1786
LogCheckpointEnd 3368
LogCheckpointStart 2772
PerformRecoveryXLogAction 308
PreallocXlogFiles 3910
ReachedEndOfBackup 144
ReadControlFile 1946
RecoveryInProgress 176908958
RecoveryRestartPoint 1418
RemoveNonParentXlogFiles 122
RemoveOldXlogFiles 3368
RemoveTempXlogFiles 350
RemoveXlogFile 5076
RequestXLogSwitch 1470
ReserveXLogInsertLocation 29196594
ReserveXLogSwitch 1470
SetInstallXLogFileSegmentActive 2218
SetWalWriterSleeping 948
ShutdownXLOG 1238
StartupXLOG 1848
SwitchIntoArchiveRecovery 4
UpdateCheckPointDistanceEstimate 3368
UpdateControlFile 17946
UpdateFullPageWrites 2870
UpdateLastRemovedPtr 5042
UpdateMinRecoveryPoint 213038
ValidateXLOGDirectoryStructure 1848
WALInsertLockAcquire 29209692
WALInsertLockAcquireExclusive 8406
WALInsertLockRelease 29218098
WALInsertLockUpdateInsertingAt 4968528
WALReadFromBuffers 198158
WaitXLogInsertionsToFinish 4103570
WriteControlFile 102
XLOGChooseNumBuffers 2130
XLOGShmemInit 2134
XLOGShmemSize 6096
XLOGfileslop 3368
XLogBackgroundFlush 42284
XLogBytePosToEndRecPtr 29982730
XLogBytePosToRecPtr 58401046
XLogCheckpointNeeded 10332
XLogFileClose 12684
XLogFileCopy 76
XLogFileInit 28088
XLogFileInitInternal 28620
XLogFileOpen 184
XLogFlush 1365312
XLogGetLastRemovedSegno 2114
XLogGetOldestSegno 10
XLogGetReplicationSlotMinimumLSN 4304
XLogInitNewTimeline 98
XLogInsertAllowed 61053792
XLogInsertRecord 29212950
XLogNeedsFlush 18126882
XLogPutNextOid 1188
XLogRecPtrToBytePos 4816
XLogReportParameters 1728
XLogRestorePoint 6
XLogSetAsyncXactLSN 98826
XLogSetReplicationSlotMinimumLSN 59024
XLogShutdownWalRcv 2126
XLogWrite 4033776
assign_checkpoint_completion_target 2210
assign_max_wal_size 10598
assign_wal_consistency_checking 3996
assign_wal_sync_method 2210
check_max_slot_wal_keep_size 2468
check_wal_buffers 4340
check_wal_consistency_checking 3998
check_wal_segment_size 4260
do_pg_abort_backup 16
do_pg_backup_start 324
do_pg_backup_stop 310
get_backup_status 364
get_sync_bit 31448
issue_xlog_fsync 324510
register_persistent_abort_backup_handler 8
show_archive_command 3556
show_in_hot_standby 29426
str_time 1644
update_checkpoint_display 6736
xlog_redo 86878

Generated by: LCOV version 1.16