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

Function Name Sort by function name Hit count Sort by hit count
GetLastSegSwitchData 0
GetWALInsertionTimeLineIfSet 0
IsInstallXLogFileSegmentActive 0
GetMockAuthenticationNonce 2
GetDefaultCharSignedness 6
SwitchIntoArchiveRecovery 6
XLogRestorePoint 6
register_persistent_abort_backup_handler 8
XLogGetOldestSegno 10
do_pg_abort_backup 16
CreateOverwriteContrecordRecord 22
GetFakeLSNForUnloggedRel 66
XLogFileCopy 76
CreateEndOfRecoveryRecord 84
CleanupAfterArchiveRecovery 98
XLogInitNewTimeline 98
BootStrapXLOG 100
InitControlFile 100
WriteControlFile 100
RemoveNonParentXlogFiles 120
GetActiveWalLevelOnStandby 138
ReachedEndOfBackup 144
XLogFileOpen 198
CleanupBackupHistory 300
PerformRecoveryXLogAction 308
do_pg_backup_stop 314
do_pg_backup_start 328
RemoveTempXlogFiles 352
get_backup_status 368
CheckRequiredParameterValues 492
GetOldestRestartPoint 826
SetWalWriterSleeping 950
GetWALAvailability 968
CreateRestartPoint 1144
XLogPutNextOid 1184
ShutdownXLOG 1234
RecoveryRestartPoint 1426
RequestXLogSwitch 1478
ReserveXLogSwitch 1478
str_time 1646
XLogReportParameters 1724
LocalSetXLogInsertAllowed 1782
InitializeWalConsistencyChecking 1822
LocalProcessControlFile 1842
StartupXLOG 1846
ValidateXLOGDirectoryStructure 1846
ReadControlFile 1942
XLOGChooseNumBuffers 2122
XLogGetLastRemovedSegno 2122
XLOGShmemInit 2126
XLogShutdownWalRcv 2142
assign_checkpoint_completion_target 2194
assign_wal_sync_method 2194
SetInstallXLogFileSegmentActive 2210
check_max_slot_wal_keep_size 2452
GetSystemIdentifier 2740
LogCheckpointStart 2766
UpdateFullPageWrites 2866
GetXLogWriteRecPtr 2904
CreateCheckPoint 2980
GetLastImportantRecPtr 3066
CheckPointGuts 3350
LogCheckpointEnd 3350
RemoveOldXlogFiles 3350
UpdateCheckPointDistanceEstimate 3350
XLOGfileslop 3350
show_archive_command 3538
PreallocXlogFiles 3892
GetXLogInsertRecPtr 3936
assign_wal_consistency_checking 3984
check_wal_consistency_checking 3986
check_wal_segment_size 4238
KeepLogSeg 4292
XLogGetReplicationSlotMinimumLSN 4292
check_wal_buffers 4316
XLogRecPtrToBytePos 4816
UpdateLastRemovedPtr 5024
RemoveXlogFile 5056
InstallXLogFileSegment 5754
XLOGShmemSize 6078
update_checkpoint_display 6700
WALInsertLockAcquireExclusive 8392
XLogCheckpointNeeded 10208
assign_max_wal_size 10568
XLogFileClose 12756
CalculateCheckpointSegments 14704
GetInsertRecPtr 17690
UpdateControlFile 17836
XLogFileInit 28118
XLogFileInitInternal 28616
show_in_hot_standby 29354
get_sync_bit 31480
XLogBackgroundFlush 37540
GetRecoveryState 40060
XLogSetReplicationSlotMinimumLSN 53222
xlog_redo 86834
XLogSetAsyncXactLSN 93172
WALReadFromBuffers 193466
UpdateMinRecoveryPoint 209402
GetWALInsertionTimeLine 213832
CheckXLogRemoved 231218
issue_xlog_fsync 315882
GetFlushRecPtr 408788
GetRedoRecPtr 594220
XLogFlush 1357050
XLogWrite 4033634
WaitXLogInsertionsToFinish 4106852
WALInsertLockUpdateInsertingAt 5036948
AdvanceXLInsertBuffer 5046964
XLogNeedsFlush 18196992
DataChecksumsEnabled 20136434
ReserveXLogInsertLocation 29127298
CopyXLogRecordToWAL 29128666
WALInsertLockAcquire 29140394
XLogInsertRecord 29143648
WALInsertLockRelease 29148786
GetFullPageWriteInfo 29427406
XLogBytePosToEndRecPtr 29915718
GetXLogBuffer 33895126
XLogBytePosToRecPtr 58262450
XLogInsertAllowed 60881910
RecoveryInProgress 178124648

Generated by: LCOV version 1.16