LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 2184 2465 88.6 %
Date: 2025-07-27 04:17:52 Functions: 118 121 97.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdvanceXLInsertBuffer 5299408
BootStrapXLOG 102
CalculateCheckpointSegments 15230
CheckPointGuts 3376
CheckRequiredParameterValues 490
CheckXLogRemoved 234438
CleanupAfterArchiveRecovery 98
CleanupBackupHistory 300
CopyXLogRecordToWAL 29245750
CreateCheckPoint 3000
CreateEndOfRecoveryRecord 84
CreateOverwriteContrecordRecord 24
CreateRestartPoint 1186
DataChecksumsEnabled 19946556
GetActiveWalLevelOnStandby 138
GetDefaultCharSignedness 6
GetFakeLSNForUnloggedRel 66
GetFlushRecPtr 417330
GetFullPageWriteInfo 29549078
GetInsertRecPtr 15076
GetLastImportantRecPtr 3066
GetLastSegSwitchData 0
GetMockAuthenticationNonce 2
GetOldestRestartPoint 780
GetRecoveryState 37936
GetRedoRecPtr 593864
GetSystemIdentifier 2738
GetWALAvailability 964
GetWALInsertionTimeLine 217476
GetWALInsertionTimeLineIfSet 0
GetXLogBuffer 34177450
GetXLogInsertRecPtr 3970
GetXLogWriteRecPtr 3394
InitControlFile 102
InitializeWalConsistencyChecking 1842
InstallXLogFileSegment 5856
IsInstallXLogFileSegmentActive 0
KeepLogSeg 4302
LocalProcessControlFile 1862
LocalSetXLogInsertAllowed 1804
LogCheckpointEnd 3376
LogCheckpointStart 2780
PerformRecoveryXLogAction 310
PreallocXlogFiles 3922
ReachedEndOfBackup 142
ReadControlFile 1964
RecoveryInProgress 178104284
RecoveryRestartPoint 1414
RemoveNonParentXlogFiles 120
RemoveOldXlogFiles 3376
RemoveTempXlogFiles 350
RemoveXlogFile 5070
RequestXLogSwitch 1558
ReserveXLogInsertLocation 29244312
ReserveXLogSwitch 1558
SetInstallXLogFileSegmentActive 2198
SetWalWriterSleeping 968
ShutdownXLOG 1252
StartupXLOG 1864
SwitchIntoArchiveRecovery 4
UpdateCheckPointDistanceEstimate 3376
UpdateControlFile 17926
UpdateFullPageWrites 2902
UpdateLastRemovedPtr 5038
UpdateMinRecoveryPoint 212372
ValidateXLOGDirectoryStructure 1864
WALInsertLockAcquire 29257588
WALInsertLockAcquireExclusive 8516
WALInsertLockRelease 29266104
WALInsertLockUpdateInsertingAt 5290112
WALReadFromBuffers 198446
WaitXLogInsertionsToFinish 4224376
WriteControlFile 102
XLOGChooseNumBuffers 2148
XLOGShmemInit 2152
XLOGShmemSize 6150
XLOGfileslop 3376
XLogBackgroundFlush 30786
XLogBytePosToEndRecPtr 30019858
XLogBytePosToRecPtr 58496670
XLogCheckpointNeeded 10304
XLogFileClose 12606
XLogFileCopy 80
XLogFileInit 28348
XLogFileInitInternal 28856
XLogFileOpen 74
XLogFlush 1368676
XLogGetLastRemovedSegno 2118
XLogGetOldestSegno 10
XLogGetReplicationSlotMinimumLSN 4302
XLogInitNewTimeline 98
XLogInsertAllowed 61152814
XLogInsertRecord 29260922
XLogNeedsFlush 17950924
XLogPutNextOid 1198
XLogRecPtrToBytePos 4930
XLogReportParameters 1746
XLogRestorePoint 6
XLogSetAsyncXactLSN 98522
XLogSetReplicationSlotMinimumLSN 47544
XLogShutdownWalRcv 2094
XLogWrite 4158368
assign_checkpoint_completion_target 2226
assign_max_wal_size 11040
assign_wal_consistency_checking 4012
assign_wal_sync_method 2226
check_wal_buffers 4374
check_wal_consistency_checking 4014
check_wal_segment_size 4294
do_pg_abort_backup 16
do_pg_backup_start 328
do_pg_backup_stop 314
get_backup_status 368
get_sync_bit 31728
issue_xlog_fsync 314210
register_persistent_abort_backup_handler 8
show_archive_command 3574
show_in_hot_standby 29628
str_time 1660
update_checkpoint_display 6752
xlog_redo 86820

Generated by: LCOV version 1.16