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 05:18:38 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
SwitchIntoArchiveRecovery 4
GetDefaultCharSignedness 6
XLogRestorePoint 6
register_persistent_abort_backup_handler 8
XLogGetOldestSegno 10
do_pg_abort_backup 16
CreateOverwriteContrecordRecord 24
GetFakeLSNForUnloggedRel 66
XLogFileCopy 82
CreateEndOfRecoveryRecord 84
CleanupAfterArchiveRecovery 98
XLogInitNewTimeline 98
BootStrapXLOG 102
InitControlFile 102
WriteControlFile 102
RemoveNonParentXlogFiles 120
GetActiveWalLevelOnStandby 138
ReachedEndOfBackup 142
XLogFileOpen 152
CleanupBackupHistory 296
PerformRecoveryXLogAction 308
do_pg_backup_stop 310
do_pg_backup_start 324
RemoveTempXlogFiles 348
get_backup_status 364
CheckRequiredParameterValues 490
GetOldestRestartPoint 784
GetWALAvailability 958
SetWalWriterSleeping 964
CreateRestartPoint 1166
XLogPutNextOid 1192
ShutdownXLOG 1238
RecoveryRestartPoint 1414
RequestXLogSwitch 1472
ReserveXLogSwitch 1472
str_time 1642
XLogReportParameters 1728
LocalSetXLogInsertAllowed 1786
InitializeWalConsistencyChecking 1826
LocalProcessControlFile 1846
StartupXLOG 1846
ValidateXLOGDirectoryStructure 1846
ReadControlFile 1948
XLogShutdownWalRcv 2092
XLogGetLastRemovedSegno 2108
XLOGChooseNumBuffers 2132
XLOGShmemInit 2136
SetInstallXLogFileSegmentActive 2210
assign_checkpoint_completion_target 2210
assign_wal_sync_method 2210
check_max_slot_wal_keep_size 2468
GetSystemIdentifier 2720
LogCheckpointStart 2768
UpdateFullPageWrites 2870
GetXLogWriteRecPtr 2892
CreateCheckPoint 2990
GetLastImportantRecPtr 3088
CheckPointGuts 3364
LogCheckpointEnd 3364
RemoveOldXlogFiles 3364
UpdateCheckPointDistanceEstimate 3364
XLOGfileslop 3364
show_archive_command 3552
PreallocXlogFiles 3906
GetXLogInsertRecPtr 3948
assign_wal_consistency_checking 3996
check_wal_consistency_checking 3998
check_wal_segment_size 4262
KeepLogSeg 4296
XLogGetReplicationSlotMinimumLSN 4296
check_wal_buffers 4342
XLogRecPtrToBytePos 4814
UpdateLastRemovedPtr 5064
RemoveXlogFile 5096
InstallXLogFileSegment 5818
XLOGShmemSize 6102
update_checkpoint_display 6728
WALInsertLockAcquireExclusive 8404
XLogCheckpointNeeded 10356
assign_max_wal_size 10612
XLogFileClose 12928
CalculateCheckpointSegments 14770
GetInsertRecPtr 15884
UpdateControlFile 17908
XLogFileInit 28378
XLogFileInitInternal 28912
show_in_hot_standby 29174
get_sync_bit 31684
GetRecoveryState 35424
XLogBackgroundFlush 41664
XLogSetReplicationSlotMinimumLSN 53354
xlog_redo 87026
XLogSetAsyncXactLSN 97802
WALReadFromBuffers 198570
UpdateMinRecoveryPoint 207300
GetWALInsertionTimeLine 222160
CheckXLogRemoved 238668
issue_xlog_fsync 319060
GetFlushRecPtr 455882
GetRedoRecPtr 593338
XLogFlush 1356104
XLogWrite 4039604
WaitXLogInsertionsToFinish 4104242
WALInsertLockUpdateInsertingAt 5014778
AdvanceXLInsertBuffer 5024654
XLogNeedsFlush 18206582
DataChecksumsEnabled 19845292
ReserveXLogInsertLocation 29211364
CopyXLogRecordToWAL 29212722
WALInsertLockAcquire 29224440
XLogInsertRecord 29227690
WALInsertLockRelease 29232844
GetFullPageWriteInfo 29514728
XLogBytePosToEndRecPtr 29991786
GetXLogBuffer 33976998
XLogBytePosToRecPtr 58430578
XLogInsertAllowed 61074078
RecoveryInProgress 177078526

Generated by: LCOV version 1.16