LCOV - code coverage report
Current view: top level - src/backend/access/transam - xlog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 2172 2463 88.2 %
Date: 2025-02-22 22:15:06 Functions: 119 122 97.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdvanceXLInsertBuffer 4679692
BootStrapXLOG 90
CalculateCheckpointSegments 13820
CheckPointGuts 2506
CheckRequiredParameterValues 472
CheckXLogRemoved 234330
CleanupAfterArchiveRecovery 98
CleanupBackupHistory 292
CopyXLogRecordToWAL 27910476
CreateCheckPoint 2130
CreateEndOfRecoveryRecord 84
CreateOverwriteContrecordRecord 22
CreateRestartPoint 516
DataChecksumsEnabled 22734156
GetActiveWalLevelOnStandby 132
GetDefaultCharSignedness 6
GetFakeLSNForUnloggedRel 66
GetFlushRecPtr 410944
GetFullPageWriteInfo 28193786
GetInsertRecPtr 10606
GetLastImportantRecPtr 2180
GetLastSegSwitchData 0
GetMockAuthenticationNonce 2
GetOldestRestartPoint 144
GetRecoveryState 118
GetRedoRecPtr 571694
GetSystemIdentifier 2636
GetWALAvailability 852
GetWALInsertionTimeLine 219316
GetWALInsertionTimeLineIfSet 0
GetXLogBuffer 32250752
GetXLogInsertRecPtr 3962
GetXLogWriteRecPtr 2668
InitControlFile 90
InitializeWalConsistencyChecking 1664
InstallXLogFileSegment 4744
IsInstallXLogFileSegmentActive 0
KeepLogSeg 3338
LocalProcessControlFile 1684
LocalSetXLogInsertAllowed 1620
LogCheckpointEnd 2506
LogCheckpointStart 1982
PerformRecoveryXLogAction 306
PreallocXlogFiles 3008
ReachedEndOfBackup 138
ReadControlFile 1774
RecoveryInProgress 167668110
RecoveryRestartPoint 756
RemoveNonParentXlogFiles 120
RemoveOldXlogFiles 2506
RemoveTempXlogFiles 342
RemoveXlogFile 3854
RequestXLogSwitch 742
ReserveXLogInsertLocation 27909850
ReserveXLogSwitch 742
SetInstallXLogFileSegmentActive 1962
SetWalWriterSleeping 832
ShutdownXLOG 1102
StartupXLOG 1668
SwitchIntoArchiveRecovery 4
UpdateCheckPointDistanceEstimate 2506
UpdateControlFile 16226
UpdateFullPageWrites 2574
UpdateLastRemovedPtr 3822
UpdateMinRecoveryPoint 186534
ValidateXLOGDirectoryStructure 1668
WALInsertLockAcquire 27922802
WALInsertLockAcquireExclusive 6242
WALInsertLockRelease 27929044
WALInsertLockUpdateInsertingAt 4672566
WALReadFromBuffers 195508
WaitXLogInsertionsToFinish 4321218
WriteControlFile 90
XLOGChooseNumBuffers 1934
XLOGShmemInit 1938
XLOGShmemSize 5544
XLOGfileslop 2506
XLogBackgroundFlush 21856
XLogBytePosToEndRecPtr 28701288
XLogBytePosToRecPtr 55825974
XLogCheckpointNeeded 7478
XLogFileClose 9538
XLogFileCopy 76
XLogFileInit 24106
XLogFileInitInternal 24528
XLogFileOpen 58
XLogFlush 1209370
XLogGetLastRemovedSegno 1978
XLogGetOldestSegno 10
XLogGetReplicationSlotMinimumLSN 3338
XLogInitNewTimeline 98
XLogInsertAllowed 58164424
XLogInsertRecord 27924592
XLogNeedsFlush 17134050
XLogPutNextOid 1096
XLogRecPtrToBytePos 3750
XLogReportParameters 1562
XLogRestorePoint 6
XLogSetAsyncXactLSN 89164
XLogSetReplicationSlotMinimumLSN 32474
XLogShutdownWalRcv 1878
XLogWrite 3756320
assign_checkpoint_completion_target 2004
assign_max_wal_size 10042
assign_wal_consistency_checking 3782
assign_wal_sync_method 2004
check_max_slot_wal_keep_size 2228
check_wal_buffers 3938
check_wal_consistency_checking 3784
check_wal_segment_size 3870
do_pg_abort_backup 18
do_pg_backup_start 320
do_pg_backup_stop 306
get_backup_status 362
get_sync_bit 26746
issue_xlog_fsync 276024
register_persistent_abort_backup_handler 10
show_archive_command 3422
show_in_hot_standby 27140
str_time 1488
update_checkpoint_display 5012
xlog_redo 78768

Generated by: LCOV version 1.14