LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18beta1 Lines: 2195 2481 88.5 %
Date: 2025-05-09 06:15:50 Functions: 119 122 97.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdvanceXLInsertBuffer 4989168
BootStrapXLOG 98
CalculateCheckpointSegments 14552
CheckPointGuts 3316
CheckRequiredParameterValues 484
CheckXLogRemoved 249108
CleanupAfterArchiveRecovery 98
CleanupBackupHistory 298
CopyXLogRecordToWAL 29068934
CreateCheckPoint 2942
CreateEndOfRecoveryRecord 84
CreateOverwriteContrecordRecord 22
CreateRestartPoint 1154
DataChecksumsEnabled 24217272
GetActiveWalLevelOnStandby 138
GetDefaultCharSignedness 6
GetFakeLSNForUnloggedRel 66
GetFlushRecPtr 405728
GetFullPageWriteInfo 29369520
GetInsertRecPtr 13698
GetLastImportantRecPtr 3132
GetLastSegSwitchData 0
GetMockAuthenticationNonce 2
GetOldestRestartPoint 780
GetRecoveryState 4476
GetRedoRecPtr 587492
GetSystemIdentifier 2724
GetWALAvailability 922
GetWALInsertionTimeLine 234100
GetWALInsertionTimeLineIfSet 0
GetXLogBuffer 33651784
GetXLogInsertRecPtr 3970
GetXLogWriteRecPtr 2850
InitControlFile 98
InitializeWalConsistencyChecking 1802
InstallXLogFileSegment 5746
IsInstallXLogFileSegmentActive 0
KeepLogSeg 4218
LocalProcessControlFile 1822
LocalSetXLogInsertAllowed 1756
LogCheckpointEnd 3316
LogCheckpointStart 2744
PerformRecoveryXLogAction 306
PreallocXlogFiles 3852
ReachedEndOfBackup 140
ReadControlFile 1920
RecoveryInProgress 175318726
RecoveryRestartPoint 1406
RemoveNonParentXlogFiles 120
RemoveOldXlogFiles 3316
RemoveTempXlogFiles 344
RemoveXlogFile 5230
RequestXLogSwitch 1398
ReserveXLogInsertLocation 29067654
ReserveXLogSwitch 1398
SetInstallXLogFileSegmentActive 2108
SetWalWriterSleeping 966
ShutdownXLOG 1212
StartupXLOG 1814
SwitchIntoArchiveRecovery 4
UpdateCheckPointDistanceEstimate 3316
UpdateControlFile 17490
UpdateFullPageWrites 2818
UpdateLastRemovedPtr 5196
UpdateMinRecoveryPoint 192582
ValidateXLOGDirectoryStructure 1814
WALInsertLockAcquire 29080618
WALInsertLockAcquireExclusive 8524
WALInsertLockRelease 29089142
WALInsertLockUpdateInsertingAt 4981642
WALReadFromBuffers 191894
WaitXLogInsertionsToFinish 3954990
WriteControlFile 98
XLOGChooseNumBuffers 2096
XLOGShmemInit 2100
XLOGShmemSize 6006
XLOGfileslop 3316
XLogBackgroundFlush 41700
XLogBytePosToEndRecPtr 29815544
XLogBytePosToRecPtr 58143000
XLogCheckpointNeeded 10340
XLogFileClose 11514
XLogFileCopy 82
XLogFileInit 26974
XLogFileInitInternal 27492
XLogFileOpen 22
XLogFlush 1308888
XLogGetLastRemovedSegno 2080
XLogGetOldestSegno 10
XLogGetReplicationSlotMinimumLSN 4218
XLogInitNewTimeline 98
XLogInsertAllowed 60687302
XLogInsertRecord 29083774
XLogNeedsFlush 18648874
XLogPutNextOid 1166
XLogRecPtrToBytePos 4676
XLogReportParameters 1698
XLogRestorePoint 6
XLogSetAsyncXactLSN 94750
XLogSetReplicationSlotMinimumLSN 20118
XLogShutdownWalRcv 1998
XLogWrite 3898668
assign_checkpoint_completion_target 2168
assign_max_wal_size 10464
assign_wal_consistency_checking 3958
assign_wal_sync_method 2168
check_max_slot_wal_keep_size 2420
check_wal_buffers 4264
check_wal_consistency_checking 3960
check_wal_segment_size 4188
do_pg_abort_backup 18
do_pg_backup_start 326
do_pg_backup_stop 312
get_backup_status 368
get_sync_bit 30052
issue_xlog_fsync 282290
register_persistent_abort_backup_handler 10
show_archive_command 3558
show_in_hot_standby 34442
str_time 1618
update_checkpoint_display 6632
xlog_redo 82132

Generated by: LCOV version 1.14