LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 2197 2481 88.6 %
Date: 2025-04-02 19:16:25 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
XLogGetOldestSegno 10
register_persistent_abort_backup_handler 10
XLogFileOpen 20
CreateOverwriteContrecordRecord 22
do_pg_abort_backup 22
GetFakeLSNForUnloggedRel 66
XLogFileCopy 76
CreateEndOfRecoveryRecord 84
BootStrapXLOG 96
InitControlFile 96
WriteControlFile 96
CleanupAfterArchiveRecovery 98
XLogInitNewTimeline 98
RemoveNonParentXlogFiles 120
GetRecoveryState 122
GetOldestRestartPoint 134
GetActiveWalLevelOnStandby 136
ReachedEndOfBackup 138
CleanupBackupHistory 296
PerformRecoveryXLogAction 306
do_pg_backup_stop 310
do_pg_backup_start 328
RemoveTempXlogFiles 342
get_backup_status 372
CheckRequiredParameterValues 482
CreateRestartPoint 538
RecoveryRestartPoint 752
RequestXLogSwitch 754
ReserveXLogSwitch 754
GetWALAvailability 860
SetWalWriterSleeping 910
XLogPutNextOid 1154
ShutdownXLOG 1196
str_time 1590
XLogReportParameters 1668
LocalSetXLogInsertAllowed 1726
InitializeWalConsistencyChecking 1772
StartupXLOG 1782
ValidateXLOGDirectoryStructure 1782
LocalProcessControlFile 1792
ReadControlFile 1888
XLogShutdownWalRcv 1998
XLogGetLastRemovedSegno 2004
XLOGChooseNumBuffers 2060
XLOGShmemInit 2064
LogCheckpointStart 2078
SetInstallXLogFileSegmentActive 2090
assign_checkpoint_completion_target 2134
assign_wal_sync_method 2134
CreateCheckPoint 2268
GetLastImportantRecPtr 2330
check_max_slot_wal_keep_size 2390
CheckPointGuts 2638
LogCheckpointEnd 2638
RemoveOldXlogFiles 2638
UpdateCheckPointDistanceEstimate 2638
XLOGfileslop 2638
GetSystemIdentifier 2704
GetXLogWriteRecPtr 2742
UpdateFullPageWrites 2776
PreallocXlogFiles 3158
show_archive_command 3466
KeepLogSeg 3478
XLogGetReplicationSlotMinimumLSN 3478
assign_wal_consistency_checking 3928
check_wal_consistency_checking 3930
UpdateLastRemovedPtr 3932
RemoveXlogFile 3964
GetXLogInsertRecPtr 3970
XLogRecPtrToBytePos 3974
check_wal_segment_size 4120
check_wal_buffers 4194
InstallXLogFileSegment 5030
update_checkpoint_display 5276
XLOGShmemSize 5904
WALInsertLockAcquireExclusive 6536
XLogCheckpointNeeded 8224
XLogFileClose 10230
assign_max_wal_size 10442
GetInsertRecPtr 11894
CalculateCheckpointSegments 14464
UpdateControlFile 16822
XLogBackgroundFlush 24064
XLogFileInit 25468
XLogFileInitInternal 25960
XLogSetReplicationSlotMinimumLSN 26002
get_sync_bit 28440
show_in_hot_standby 28626
xlog_redo 81292
XLogSetAsyncXactLSN 95840
WALReadFromBuffers 192598
UpdateMinRecoveryPoint 201610
GetWALInsertionTimeLine 217234
CheckXLogRemoved 232164
issue_xlog_fsync 285212
GetFlushRecPtr 386768
GetRedoRecPtr 584888
XLogFlush 1301454
XLogWrite 3820942
WaitXLogInsertionsToFinish 3877498
WALInsertLockUpdateInsertingAt 4850412
AdvanceXLInsertBuffer 4858014
XLogNeedsFlush 18292392
DataChecksumsEnabled 23172192
ReserveXLogInsertLocation 28953982
CopyXLogRecordToWAL 28954620
WALInsertLockAcquire 28967338
XLogInsertRecord 28969190
WALInsertLockRelease 28973874
GetFullPageWriteInfo 29255426
XLogBytePosToEndRecPtr 29697774
GetXLogBuffer 33447172
XLogBytePosToRecPtr 57914358
XLogInsertAllowed 60423748
RecoveryInProgress 171982722

Generated by: LCOV version 1.14