LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 2195 2481 88.5 %
Date: 2025-04-20 20:15:55 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
do_pg_abort_backup 18
CreateOverwriteContrecordRecord 22
XLogFileOpen 34
GetFakeLSNForUnloggedRel 66
XLogFileCopy 82
CreateEndOfRecoveryRecord 84
BootStrapXLOG 98
CleanupAfterArchiveRecovery 98
InitControlFile 98
WriteControlFile 98
XLogInitNewTimeline 98
RemoveNonParentXlogFiles 120
GetActiveWalLevelOnStandby 138
ReachedEndOfBackup 140
CleanupBackupHistory 298
PerformRecoveryXLogAction 306
do_pg_backup_stop 312
do_pg_backup_start 326
RemoveTempXlogFiles 344
get_backup_status 368
CheckRequiredParameterValues 484
GetOldestRestartPoint 786
GetWALAvailability 902
SetWalWriterSleeping 922
XLogPutNextOid 1162
CreateRestartPoint 1176
ShutdownXLOG 1208
RequestXLogSwitch 1398
ReserveXLogSwitch 1398
RecoveryRestartPoint 1402
str_time 1614
XLogReportParameters 1694
LocalSetXLogInsertAllowed 1752
InitializeWalConsistencyChecking 1798
StartupXLOG 1810
ValidateXLOGDirectoryStructure 1810
LocalProcessControlFile 1818
ReadControlFile 1916
XLogShutdownWalRcv 2006
XLogGetLastRemovedSegno 2054
XLOGChooseNumBuffers 2092
XLOGShmemInit 2096
SetInstallXLogFileSegmentActive 2106
assign_checkpoint_completion_target 2164
assign_wal_sync_method 2164
check_max_slot_wal_keep_size 2418
GetRecoveryState 2656
GetSystemIdentifier 2708
LogCheckpointStart 2736
GetXLogWriteRecPtr 2806
UpdateFullPageWrites 2810
CreateCheckPoint 2932
GetLastImportantRecPtr 2992
CheckPointGuts 3308
LogCheckpointEnd 3308
RemoveOldXlogFiles 3308
UpdateCheckPointDistanceEstimate 3308
XLOGfileslop 3308
show_archive_command 3550
PreallocXlogFiles 3844
assign_wal_consistency_checking 3954
GetXLogInsertRecPtr 3956
check_wal_consistency_checking 3956
check_wal_segment_size 4180
KeepLogSeg 4192
XLogGetReplicationSlotMinimumLSN 4192
check_wal_buffers 4256
XLogRecPtrToBytePos 4668
UpdateLastRemovedPtr 5220
RemoveXlogFile 5252
InstallXLogFileSegment 5736
XLOGShmemSize 5994
update_checkpoint_display 6616
WALInsertLockAcquireExclusive 8506
XLogCheckpointNeeded 10276
assign_max_wal_size 10462
XLogFileClose 11458
GetInsertRecPtr 13394
CalculateCheckpointSegments 14542
UpdateControlFile 17516
XLogFileInit 26826
XLogSetReplicationSlotMinimumLSN 26964
XLogFileInitInternal 27326
get_sync_bit 29850
show_in_hot_standby 31660
XLogBackgroundFlush 38782
xlog_redo 82586
XLogSetAsyncXactLSN 96168
UpdateMinRecoveryPoint 192554
WALReadFromBuffers 194778
GetWALInsertionTimeLine 234534
CheckXLogRemoved 249438
issue_xlog_fsync 288096
GetFlushRecPtr 432142
GetRedoRecPtr 587406
XLogFlush 1310210
XLogWrite 3895756
WaitXLogInsertionsToFinish 3951768
WALInsertLockUpdateInsertingAt 4937198
AdvanceXLInsertBuffer 4944678
XLogNeedsFlush 18724662
DataChecksumsEnabled 24140864
ReserveXLogInsertLocation 29046674
CopyXLogRecordToWAL 29047954
WALInsertLockAcquire 29059604
XLogInsertRecord 29062754
WALInsertLockRelease 29068110
GetFullPageWriteInfo 29351328
XLogBytePosToEndRecPtr 29798680
GetXLogBuffer 33627750
XLogBytePosToRecPtr 58101022
XLogInsertAllowed 60647702
RecoveryInProgress 174866894

Generated by: LCOV version 1.14