LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 2176 2455 88.6 %
Date: 2025-12-07 20:18:02 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 12
do_pg_abort_backup 16
CreateOverwriteContrecordRecord 20
GetFakeLSNForUnloggedRel 66
XLogFileCopy 78
CreateEndOfRecoveryRecord 88
BootStrapXLOG 100
InitControlFile 100
WriteControlFile 100
CleanupAfterArchiveRecovery 102
XLogInitNewTimeline 102
RemoveNonParentXlogFiles 126
GetActiveWalLevelOnStandby 138
ReachedEndOfBackup 148
CleanupBackupHistory 300
do_pg_backup_stop 314
PerformRecoveryXLogAction 316
do_pg_backup_start 328
RemoveTempXlogFiles 358
get_backup_status 368
XLogFileOpen 436
CheckRequiredParameterValues 500
GetOldestRestartPoint 786
SetWalWriterSleeping 1008
GetWALAvailability 1056
CreateRestartPoint 1182
XLogPutNextOid 1236
ShutdownXLOG 1316
RecoveryRestartPoint 1434
ReserveXLogSwitch 1566
RequestXLogSwitch 1568
str_time 1706
XLogReportParameters 1806
LocalSetXLogInsertAllowed 1864
InitializeWalConsistencyChecking 1904
LocalProcessControlFile 1924
StartupXLOG 1926
ValidateXLOGDirectoryStructure 1926
XLogShutdownWalRcv 1926
ReadControlFile 2024
ResetInstallXLogFileSegmentActive 2192
XLOGChooseNumBuffers 2204
XLOGShmemInit 2208
XLogGetLastRemovedSegno 2208
assign_checkpoint_completion_target 2282
assign_wal_sync_method 2282
SetInstallXLogFileSegmentActive 2294
GetSystemIdentifier 2816
LogCheckpointStart 2890
UpdateFullPageWrites 3014
CreateCheckPoint 3092
GetLastImportantRecPtr 3180
show_archive_command 3458
CheckPointGuts 3474
LogCheckpointEnd 3474
RemoveOldXlogFiles 3474
UpdateCheckPointDistanceEstimate 3474
XLOGfileslop 3474
GetXLogInsertRecPtr 3988
PreallocXlogFiles 4016
assign_wal_consistency_checking 4164
check_wal_consistency_checking 4166
check_wal_segment_size 4408
KeepLogSeg 4468
XLogGetReplicationSlotMinimumLSN 4468
check_wal_buffers 4486
UpdateLastRemovedPtr 5016
RemoveXlogFile 5048
XLogRecPtrToBytePos 5068
InstallXLogFileSegment 5816
XLOGShmemSize 6324
update_checkpoint_display 6948
WALInsertLockAcquireExclusive 8684
XLogCheckpointNeeded 10272
assign_max_wal_size 11490
XLogFileClose 12756
GetXLogWriteRecPtr 13332
CalculateCheckpointSegments 15796
GetInsertRecPtr 16448
UpdateControlFile 18368
XLogFileInit 28676
XLogFileInitInternal 29190
show_in_hot_standby 30654
get_sync_bit 32358
XLogBackgroundFlush 34746
GetRecoveryState 48492
XLogSetReplicationSlotMinimumLSN 62558
xlog_redo 88260
XLogSetAsyncXactLSN 95664
WALReadFromBuffers 201442
UpdateMinRecoveryPoint 214208
GetWALInsertionTimeLine 221120
CheckXLogRemoved 237228
issue_xlog_fsync 323098
GetFlushRecPtr 432138
GetRedoRecPtr 592116
XLogFlush 1373660
XLogWrite 4256870
WaitXLogInsertionsToFinish 4696136
WALInsertLockUpdateInsertingAt 5067084
AdvanceXLInsertBuffer 5079026
XLogNeedsFlush 17385630
DataChecksumsEnabled 20263956
ReserveXLogInsertLocation 29258790
CopyXLogRecordToWAL 29260244
WALInsertLockAcquire 29272646
XLogInsertRecord 29276018
WALInsertLockRelease 29281330
GetFullPageWriteInfo 29562618
XLogBytePosToEndRecPtr 30169770
GetXLogBuffer 34236086
XLogBytePosToRecPtr 58525938
XLogInsertAllowed 78549866
RecoveryInProgress 162142134

Generated by: LCOV version 1.16