LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 2169 2452 88.5 %
Date: 2025-11-07 15:18:19 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 88
BootStrapXLOG 100
InitControlFile 100
WriteControlFile 100
CleanupAfterArchiveRecovery 102
XLogInitNewTimeline 102
RemoveNonParentXlogFiles 124
GetActiveWalLevelOnStandby 138
ReachedEndOfBackup 146
CleanupBackupHistory 300
PerformRecoveryXLogAction 314
do_pg_backup_stop 314
do_pg_backup_start 328
RemoveTempXlogFiles 354
get_backup_status 368
XLogFileOpen 374
CheckRequiredParameterValues 494
GetOldestRestartPoint 784
SetWalWriterSleeping 1008
GetWALAvailability 1054
CreateRestartPoint 1156
XLogPutNextOid 1226
ShutdownXLOG 1314
RecoveryRestartPoint 1430
RequestXLogSwitch 1566
ReserveXLogSwitch 1566
str_time 1694
XLogReportParameters 1796
LocalSetXLogInsertAllowed 1854
InitializeWalConsistencyChecking 1894
XLogShutdownWalRcv 1902
LocalProcessControlFile 1914
StartupXLOG 1914
ValidateXLOGDirectoryStructure 1914
ReadControlFile 2014
ResetInstallXLogFileSegmentActive 2162
XLOGChooseNumBuffers 2194
XLOGShmemInit 2198
XLogGetLastRemovedSegno 2200
SetInstallXLogFileSegmentActive 2260
assign_checkpoint_completion_target 2272
assign_wal_sync_method 2272
GetSystemIdentifier 2810
LogCheckpointStart 2880
UpdateFullPageWrites 2998
CreateCheckPoint 3088
GetLastImportantRecPtr 3184
show_archive_command 3462
CheckPointGuts 3464
LogCheckpointEnd 3464
RemoveOldXlogFiles 3464
UpdateCheckPointDistanceEstimate 3464
XLOGfileslop 3464
GetXLogInsertRecPtr 3998
PreallocXlogFiles 3998
assign_wal_consistency_checking 4070
check_wal_consistency_checking 4072
check_wal_segment_size 4388
KeepLogSeg 4454
XLogGetReplicationSlotMinimumLSN 4454
check_wal_buffers 4466
XLogRecPtrToBytePos 5042
UpdateLastRemovedPtr 5044
RemoveXlogFile 5076
InstallXLogFileSegment 5750
XLOGShmemSize 6294
update_checkpoint_display 6928
GetXLogWriteRecPtr 7646
WALInsertLockAcquireExclusive 8656
XLogCheckpointNeeded 10408
assign_max_wal_size 11196
XLogFileClose 12478
CalculateCheckpointSegments 15482
GetInsertRecPtr 16548
UpdateControlFile 18172
XLogFileInit 28298
XLogFileInitInternal 28816
show_in_hot_standby 30552
get_sync_bit 31878
XLogBackgroundFlush 35460
GetRecoveryState 40936
XLogSetReplicationSlotMinimumLSN 55792
xlog_redo 87238
XLogSetAsyncXactLSN 94220
WALReadFromBuffers 192836
UpdateMinRecoveryPoint 213288
GetWALInsertionTimeLine 221646
CheckXLogRemoved 237374
issue_xlog_fsync 317638
GetFlushRecPtr 443692
GetRedoRecPtr 591972
XLogFlush 1374388
XLogWrite 4216614
WaitXLogInsertionsToFinish 4807922
WALInsertLockUpdateInsertingAt 5233962
AdvanceXLInsertBuffer 5243522
XLogNeedsFlush 17263494
DataChecksumsEnabled 20324408
ReserveXLogInsertLocation 29209236
CopyXLogRecordToWAL 29210686
WALInsertLockAcquire 29222928
XLogInsertRecord 29226296
WALInsertLockRelease 29231584
GetFullPageWriteInfo 29512282
XLogBytePosToEndRecPtr 30105462
GetXLogBuffer 34154006
XLogBytePosToRecPtr 58426632
XLogInsertAllowed 78328580
RecoveryInProgress 162783588

Generated by: LCOV version 1.16