LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 2163 2457 88.0 %
Date: 2025-01-18 07:14:56 Functions: 118 121 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
XLogRestorePoint 6
XLogGetOldestSegno 10
register_persistent_abort_backup_handler 10
CreateOverwriteContrecordRecord 22
do_pg_abort_backup 22
GetFakeLSNForUnloggedRel 66
XLogFileCopy 74
CreateEndOfRecoveryRecord 82
BootStrapXLOG 90
InitControlFile 90
WriteControlFile 90
CleanupAfterArchiveRecovery 96
XLogFileOpen 96
XLogInitNewTimeline 96
GetRecoveryState 116
RemoveNonParentXlogFiles 118
GetOldestRestartPoint 130
GetActiveWalLevelOnStandby 132
ReachedEndOfBackup 136
CleanupBackupHistory 290
PerformRecoveryXLogAction 304
do_pg_backup_stop 304
do_pg_backup_start 322
RemoveTempXlogFiles 340
get_backup_status 366
CheckRequiredParameterValues 470
CreateRestartPoint 488
RequestXLogSwitch 740
ReserveXLogSwitch 740
RecoveryRestartPoint 748
SetWalWriterSleeping 826
GetWALAvailability 846
XLogPutNextOid 1082
ShutdownXLOG 1092
str_time 1470
XLogReportParameters 1544
LocalSetXLogInsertAllowed 1602
InitializeWalConsistencyChecking 1644
StartupXLOG 1650
ValidateXLOGDirectoryStructure 1650
LocalProcessControlFile 1664
ReadControlFile 1754
XLogShutdownWalRcv 1868
XLOGChooseNumBuffers 1914
XLOGShmemInit 1918
SetInstallXLogFileSegmentActive 1942
LogCheckpointStart 1950
XLogGetLastRemovedSegno 1956
assign_checkpoint_completion_target 1984
assign_wal_sync_method 1984
CreateCheckPoint 2110
GetLastImportantRecPtr 2162
check_max_slot_wal_keep_size 2196
CheckPointGuts 2474
LogCheckpointEnd 2474
RemoveOldXlogFiles 2474
UpdateCheckPointDistanceEstimate 2474
XLOGfileslop 2474
UpdateFullPageWrites 2546
GetSystemIdentifier 2628
GetXLogWriteRecPtr 2654
PreallocXlogFiles 2968
KeepLogSeg 3302
XLogGetReplicationSlotMinimumLSN 3302
show_archive_command 3424
XLogRecPtrToBytePos 3712
assign_wal_consistency_checking 3758
check_wal_consistency_checking 3760
UpdateLastRemovedPtr 3794
RemoveXlogFile 3826
check_wal_segment_size 3830
check_wal_buffers 3898
GetXLogInsertRecPtr 3958
InstallXLogFileSegment 4712
update_checkpoint_display 4948
XLOGShmemSize 5484
WALInsertLockAcquireExclusive 6196
XLogCheckpointNeeded 7900
XLogFileClose 9486
assign_max_wal_size 9992
GetInsertRecPtr 11210
CalculateCheckpointSegments 13730
UpdateControlFile 15872
XLogSetReplicationSlotMinimumLSN 19962
XLogFileInit 23906
XLogFileInitInternal 24396
get_sync_bit 26732
show_in_hot_standby 26922
XLogBackgroundFlush 32680
xlog_redo 78886
XLogSetAsyncXactLSN 88014
UpdateMinRecoveryPoint 182354
WALReadFromBuffers 185946
GetWALInsertionTimeLine 221008
CheckXLogRemoved 235904
issue_xlog_fsync 261338
GetFlushRecPtr 391644
GetRedoRecPtr 568164
XLogFlush 1193998
XLogWrite 3732508
WaitXLogInsertionsToFinish 4360430
WALInsertLockUpdateInsertingAt 4741030
AdvanceXLInsertBuffer 4748192
XLogNeedsFlush 17072422
DataChecksumsEnabled 21890336
ReserveXLogInsertLocation 27708416
CopyXLogRecordToWAL 27709040
WALInsertLockAcquire 27721258
XLogInsertRecord 27723036
WALInsertLockRelease 27727454
GetFullPageWriteInfo 27987948
XLogBytePosToEndRecPtr 28472884
GetXLogBuffer 32025758
XLogBytePosToRecPtr 55423088
XLogInsertAllowed 57744620
RecoveryInProgress 164949746

Generated by: LCOV version 1.14