LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 2163 2457 88.0 %
Date: 2025-01-18 10:15:04 Functions: 118 121 97.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdvanceXLInsertBuffer 4714860
BootStrapXLOG 90
CalculateCheckpointSegments 13728
CheckPointGuts 2474
CheckRequiredParameterValues 470
CheckXLogRemoved 248626
CleanupAfterArchiveRecovery 96
CleanupBackupHistory 290
CopyXLogRecordToWAL 27731518
CreateCheckPoint 2106
CreateEndOfRecoveryRecord 82
CreateOverwriteContrecordRecord 22
CreateRestartPoint 524
DataChecksumsEnabled 21960300
GetActiveWalLevelOnStandby 132
GetFakeLSNForUnloggedRel 66
GetFlushRecPtr 431436
GetFullPageWriteInfo 28011778
GetInsertRecPtr 10978
GetLastImportantRecPtr 2158
GetLastSegSwitchData 0
GetMockAuthenticationNonce 2
GetOldestRestartPoint 128
GetRecoveryState 110
GetRedoRecPtr 634238
GetSystemIdentifier 2616
GetWALAvailability 844
GetWALInsertionTimeLine 233586
GetWALInsertionTimeLineIfSet 0
GetXLogBuffer 32042768
GetXLogInsertRecPtr 3954
GetXLogWriteRecPtr 2648
InitControlFile 90
InitializeWalConsistencyChecking 1644
InstallXLogFileSegment 4746
IsInstallXLogFileSegmentActive 0
KeepLogSeg 3300
LocalProcessControlFile 1664
LocalSetXLogInsertAllowed 1602
LogCheckpointEnd 2474
LogCheckpointStart 1950
PerformRecoveryXLogAction 304
PreallocXlogFiles 2968
ReachedEndOfBackup 136
ReadControlFile 1754
RecoveryInProgress 165153926
RecoveryRestartPoint 746
RemoveNonParentXlogFiles 118
RemoveOldXlogFiles 2474
RemoveTempXlogFiles 340
RemoveXlogFile 3824
RequestXLogSwitch 738
ReserveXLogInsertLocation 27730896
ReserveXLogSwitch 738
SetInstallXLogFileSegmentActive 1942
SetWalWriterSleeping 824
ShutdownXLOG 1092
StartupXLOG 1650
SwitchIntoArchiveRecovery 4
UpdateCheckPointDistanceEstimate 2474
UpdateControlFile 15950
UpdateFullPageWrites 2546
UpdateLastRemovedPtr 3792
UpdateMinRecoveryPoint 183704
ValidateXLOGDirectoryStructure 1650
WALInsertLockAcquire 27743734
WALInsertLockAcquireExclusive 6184
WALInsertLockRelease 27749918
WALInsertLockUpdateInsertingAt 4707686
WALReadFromBuffers 189810
WaitXLogInsertionsToFinish 4335256
WriteControlFile 90
XLOGChooseNumBuffers 1914
XLOGShmemInit 1918
XLOGShmemSize 5484
XLOGfileslop 2474
XLogBackgroundFlush 41598
XLogBytePosToEndRecPtr 28495080
XLogBytePosToRecPtr 55468040
XLogCheckpointNeeded 7504
XLogFileClose 9358
XLogFileCopy 74
XLogFileInit 23842
XLogFileInitInternal 24272
XLogFileOpen 50
XLogFlush 1199480
XLogGetLastRemovedSegno 1952
XLogGetOldestSegno 10
XLogGetReplicationSlotMinimumLSN 3300
XLogInitNewTimeline 96
XLogInsertAllowed 57795050
XLogInsertRecord 27745506
XLogNeedsFlush 17088344
XLogPutNextOid 1088
XLogRecPtrToBytePos 3710
XLogReportParameters 1544
XLogRestorePoint 6
XLogSetAsyncXactLSN 88384
XLogSetReplicationSlotMinimumLSN 23980
XLogShutdownWalRcv 1862
XLogWrite 3726632
assign_checkpoint_completion_target 1982
assign_max_wal_size 9992
assign_wal_consistency_checking 3756
assign_wal_sync_method 1982
check_max_slot_wal_keep_size 2194
check_wal_buffers 3896
check_wal_consistency_checking 3758
check_wal_segment_size 3828
do_pg_abort_backup 20
do_pg_backup_start 320
do_pg_backup_stop 304
get_backup_status 362
get_sync_bit 26632
issue_xlog_fsync 265612
register_persistent_abort_backup_handler 10
show_archive_command 3416
show_in_hot_standby 26864
str_time 1470
update_checkpoint_display 4948
xlog_redo 79718

Generated by: LCOV version 1.14