LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 2174 2452 88.7 %
Date: 2025-11-07 20:18:15 Functions: 119 122 97.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdvanceXLInsertBuffer 5229910
BootStrapXLOG 100
CalculateCheckpointSegments 15454
CheckPointGuts 3462
CheckRequiredParameterValues 494
CheckXLogRemoved 235210
CleanupAfterArchiveRecovery 102
CleanupBackupHistory 304
CopyXLogRecordToWAL 29216952
CreateCheckPoint 3088
CreateEndOfRecoveryRecord 88
CreateOverwriteContrecordRecord 20
CreateRestartPoint 1176
DataChecksumsEnabled 20255084
GetActiveWalLevelOnStandby 138
GetDefaultCharSignedness 6
GetFakeLSNForUnloggedRel 66
GetFlushRecPtr 409726
GetFullPageWriteInfo 29519684
GetInsertRecPtr 16206
GetLastImportantRecPtr 3182
GetLastSegSwitchData 0
GetMockAuthenticationNonce 2
GetOldestRestartPoint 780
GetRecoveryState 40606
GetRedoRecPtr 591486
GetSystemIdentifier 2788
GetWALAvailability 1068
GetWALInsertionTimeLine 216840
GetWALInsertionTimeLineIfSet 0
GetXLogBuffer 34171894
GetXLogInsertRecPtr 3996
GetXLogWriteRecPtr 7336
InitControlFile 100
InitializeWalConsistencyChecking 1894
InstallXLogFileSegment 5782
IsInstallXLogFileSegmentActive 0
KeepLogSeg 4468
LocalProcessControlFile 1914
LocalSetXLogInsertAllowed 1854
LogCheckpointEnd 3462
LogCheckpointStart 2878
PerformRecoveryXLogAction 314
PreallocXlogFiles 3996
ReachedEndOfBackup 146
ReadControlFile 2014
RecoveryInProgress 162120420
RecoveryRestartPoint 1428
RemoveNonParentXlogFiles 124
RemoveOldXlogFiles 3462
RemoveTempXlogFiles 354
RemoveXlogFile 5082
RequestXLogSwitch 1576
ReserveXLogInsertLocation 29215496
ReserveXLogSwitch 1576
ResetInstallXLogFileSegmentActive 2166
SetInstallXLogFileSegmentActive 2266
SetWalWriterSleeping 1010
ShutdownXLOG 1314
StartupXLOG 1914
SwitchIntoArchiveRecovery 4
UpdateCheckPointDistanceEstimate 3462
UpdateControlFile 18160
UpdateFullPageWrites 2998
UpdateLastRemovedPtr 5050
UpdateMinRecoveryPoint 214474
ValidateXLOGDirectoryStructure 1914
WALInsertLockAcquire 29229046
WALInsertLockAcquireExclusive 8688
WALInsertLockRelease 29237734
WALInsertLockUpdateInsertingAt 5220316
WALReadFromBuffers 194798
WaitXLogInsertionsToFinish 4806602
WriteControlFile 100
XLOGChooseNumBuffers 2194
XLOGShmemInit 2198
XLOGShmemSize 6294
XLOGfileslop 3462
XLogBackgroundFlush 31534
XLogBytePosToEndRecPtr 30120748
XLogBytePosToRecPtr 58439170
XLogCheckpointNeeded 10432
XLogFileClose 12668
XLogFileCopy 82
XLogFileInit 28474
XLogFileInitInternal 28984
XLogFileOpen 396
XLogFlush 1377312
XLogGetLastRemovedSegno 2218
XLogGetOldestSegno 10
XLogGetReplicationSlotMinimumLSN 4468
XLogInitNewTimeline 102
XLogInsertAllowed 78360374
XLogInsertRecord 29232426
XLogNeedsFlush 17279954
XLogPutNextOid 1230
XLogRecPtrToBytePos 5048
XLogReportParameters 1796
XLogRestorePoint 6
XLogSetAsyncXactLSN 94540
XLogSetReplicationSlotMinimumLSN 50196
XLogShutdownWalRcv 1904
XLogWrite 4226320
assign_checkpoint_completion_target 2272
assign_max_wal_size 11168
assign_wal_consistency_checking 4066
assign_wal_sync_method 2272
check_wal_buffers 4466
check_wal_consistency_checking 4068
check_wal_segment_size 4388
do_pg_abort_backup 18
do_pg_backup_start 332
do_pg_backup_stop 318
get_backup_status 374
get_sync_bit 32040
issue_xlog_fsync 312524
register_persistent_abort_backup_handler 10
show_archive_command 3460
show_in_hot_standby 30568
str_time 1694
update_checkpoint_display 6924
xlog_redo 87272

Generated by: LCOV version 1.16