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-03 18:15:34 Functions: 119 122 97.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdvanceXLInsertBuffer 4819366
BootStrapXLOG 96
CalculateCheckpointSegments 14426
CheckPointGuts 2642
CheckRequiredParameterValues 482
CheckXLogRemoved 240106
CleanupAfterArchiveRecovery 98
CleanupBackupHistory 296
CopyXLogRecordToWAL 28942290
CreateCheckPoint 2268
CreateEndOfRecoveryRecord 84
CreateOverwriteContrecordRecord 22
CreateRestartPoint 546
DataChecksumsEnabled 23681070
GetActiveWalLevelOnStandby 138
GetDefaultCharSignedness 6
GetFakeLSNForUnloggedRel 66
GetFlushRecPtr 424386
GetFullPageWriteInfo 29242760
GetInsertRecPtr 12166
GetLastImportantRecPtr 2328
GetLastSegSwitchData 0
GetMockAuthenticationNonce 2
GetOldestRestartPoint 132
GetRecoveryState 120
GetRedoRecPtr 582932
GetSystemIdentifier 2684
GetWALAvailability 898
GetWALInsertionTimeLine 225186
GetWALInsertionTimeLineIfSet 0
GetXLogBuffer 33411072
GetXLogInsertRecPtr 3968
GetXLogWriteRecPtr 2796
InitControlFile 96
InitializeWalConsistencyChecking 1772
InstallXLogFileSegment 5012
IsInstallXLogFileSegmentActive 0
KeepLogSeg 3520
LocalProcessControlFile 1792
LocalSetXLogInsertAllowed 1726
LogCheckpointEnd 2642
LogCheckpointStart 2082
PerformRecoveryXLogAction 306
PreallocXlogFiles 3162
ReachedEndOfBackup 138
ReadControlFile 1888
RecoveryInProgress 173485206
RecoveryRestartPoint 758
RemoveNonParentXlogFiles 120
RemoveOldXlogFiles 2642
RemoveTempXlogFiles 342
RemoveXlogFile 3938
RequestXLogSwitch 750
ReserveXLogInsertLocation 28941656
ReserveXLogSwitch 750
SetInstallXLogFileSegmentActive 2102
SetWalWriterSleeping 920
ShutdownXLOG 1196
StartupXLOG 1782
SwitchIntoArchiveRecovery 4
UpdateCheckPointDistanceEstimate 2642
UpdateControlFile 16790
UpdateFullPageWrites 2776
UpdateLastRemovedPtr 3904
UpdateMinRecoveryPoint 191566
ValidateXLOGDirectoryStructure 1782
WALInsertLockAcquire 28955102
WALInsertLockAcquireExclusive 6524
WALInsertLockRelease 28961626
WALInsertLockUpdateInsertingAt 4811678
WALReadFromBuffers 194984
WaitXLogInsertionsToFinish 3856174
WriteControlFile 96
XLOGChooseNumBuffers 2060
XLOGShmemInit 2064
XLOGShmemSize 5904
XLOGfileslop 2642
XLogBackgroundFlush 30286
XLogBytePosToEndRecPtr 29678822
XLogBytePosToRecPtr 57889696
XLogCheckpointNeeded 8298
XLogFileClose 10142
XLogFileCopy 76
XLogFileInit 25394
XLogFileInitInternal 25886
XLogFileOpen 38
XLogFlush 1277170
XLogGetLastRemovedSegno 2038
XLogGetOldestSegno 10
XLogGetReplicationSlotMinimumLSN 3520
XLogInitNewTimeline 98
XLogInsertAllowed 60374894
XLogInsertRecord 28956950
XLogNeedsFlush 18596158
XLogPutNextOid 1152
XLogRecPtrToBytePos 3970
XLogReportParameters 1668
XLogRestorePoint 6
XLogSetAsyncXactLSN 94758
XLogSetReplicationSlotMinimumLSN 26566
XLogShutdownWalRcv 2002
XLogWrite 3800698
assign_checkpoint_completion_target 2132
assign_max_wal_size 10406
assign_wal_consistency_checking 3922
assign_wal_sync_method 2132
check_max_slot_wal_keep_size 2384
check_wal_buffers 4192
check_wal_consistency_checking 3924
check_wal_segment_size 4118
do_pg_abort_backup 18
do_pg_backup_start 324
do_pg_backup_stop 310
get_backup_status 366
get_sync_bit 28318
issue_xlog_fsync 282618
register_persistent_abort_backup_handler 10
show_archive_command 3462
show_in_hot_standby 31308
str_time 1590
update_checkpoint_display 5284
xlog_redo 80158

Generated by: LCOV version 1.14