LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 2181 2447 89.1 %
Date: 2025-10-02 23:18:59 Functions: 118 121 97.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdvanceXLInsertBuffer 5338710
BootStrapXLOG 100
CalculateCheckpointSegments 15362
CheckPointGuts 3436
CheckRequiredParameterValues 492
CheckXLogRemoved 230056
CleanupAfterArchiveRecovery 98
CleanupBackupHistory 296
CopyXLogRecordToWAL 29171846
CreateCheckPoint 3058
CreateEndOfRecoveryRecord 84
CreateOverwriteContrecordRecord 20
CreateRestartPoint 1164
DataChecksumsEnabled 20434654
GetActiveWalLevelOnStandby 138
GetDefaultCharSignedness 6
GetFakeLSNForUnloggedRel 66
GetFlushRecPtr 455862
GetFullPageWriteInfo 29474598
GetInsertRecPtr 15540
GetLastImportantRecPtr 3140
GetLastSegSwitchData 0
GetMockAuthenticationNonce 2
GetOldestRestartPoint 778
GetRecoveryState 36474
GetRedoRecPtr 589916
GetSystemIdentifier 2752
GetWALAvailability 1016
GetWALInsertionTimeLine 215266
GetWALInsertionTimeLineIfSet 0
GetXLogBuffer 34090496
GetXLogInsertRecPtr 3976
GetXLogWriteRecPtr 18794
InitControlFile 100
InitializeWalConsistencyChecking 1874
InstallXLogFileSegment 5774
IsInstallXLogFileSegmentActive 0
KeepLogSeg 4392
LocalProcessControlFile 1894
LocalSetXLogInsertAllowed 1834
LogCheckpointEnd 3436
LogCheckpointStart 2852
PerformRecoveryXLogAction 310
PreallocXlogFiles 3966
ReachedEndOfBackup 142
ReadControlFile 1994
RecoveryInProgress 162811086
RecoveryRestartPoint 1422
RemoveNonParentXlogFiles 120
RemoveOldXlogFiles 3436
RemoveTempXlogFiles 350
RemoveXlogFile 5088
RequestXLogSwitch 1552
ReserveXLogInsertLocation 29170410
ReserveXLogSwitch 1552
SetInstallXLogFileSegmentActive 2254
SetWalWriterSleeping 994
ShutdownXLOG 1298
StartupXLOG 1894
SwitchIntoArchiveRecovery 4
UpdateCheckPointDistanceEstimate 3436
UpdateControlFile 18090
UpdateFullPageWrites 2962
UpdateLastRemovedPtr 5054
UpdateMinRecoveryPoint 212604
ValidateXLOGDirectoryStructure 1894
WALInsertLockAcquire 29183860
WALInsertLockAcquireExclusive 8532
WALInsertLockRelease 29192392
WALInsertLockUpdateInsertingAt 5329028
WALReadFromBuffers 195990
WaitXLogInsertionsToFinish 4841176
WriteControlFile 100
XLOGChooseNumBuffers 2174
XLOGShmemInit 2178
XLOGShmemSize 6234
XLOGfileslop 3436
XLogBackgroundFlush 29624
XLogBytePosToEndRecPtr 30010578
XLogBytePosToRecPtr 58348914
XLogCheckpointNeeded 10384
XLogFileClose 12292
XLogFileCopy 78
XLogFileInit 28098
XLogFileInitInternal 28590
XLogFileOpen 198
XLogFlush 1371878
XLogGetLastRemovedSegno 2152
XLogGetOldestSegno 10
XLogGetReplicationSlotMinimumLSN 4392
XLogInitNewTimeline 98
XLogInsertAllowed 78150280
XLogInsertRecord 29187202
XLogNeedsFlush 17165938
XLogPutNextOid 1214
XLogRecPtrToBytePos 4988
XLogReportParameters 1776
XLogRestorePoint 6
XLogSetAsyncXactLSN 94458
XLogSetReplicationSlotMinimumLSN 53248
XLogShutdownWalRcv 2154
XLogWrite 4185160
assign_checkpoint_completion_target 2252
assign_max_wal_size 11116
assign_wal_consistency_checking 4042
assign_wal_sync_method 2252
check_wal_buffers 4426
check_wal_consistency_checking 4044
check_wal_segment_size 4348
do_pg_abort_backup 14
do_pg_backup_start 322
do_pg_backup_stop 310
get_backup_status 360
get_sync_bit 31416
issue_xlog_fsync 314076
register_persistent_abort_backup_handler 6
show_archive_command 3472
show_in_hot_standby 29930
str_time 1674
update_checkpoint_display 6872
xlog_redo 86346

Generated by: LCOV version 1.16