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: 2024-12-04 08:15:08 Functions: 118 121 97.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AdvanceXLInsertBuffer 4822438
BootStrapXLOG 90
CalculateCheckpointSegments 13650
CheckPointGuts 2478
CheckRequiredParameterValues 470
CheckXLogRemoved 237200
CleanupAfterArchiveRecovery 96
CleanupBackupHistory 290
CopyXLogRecordToWAL 27656192
CreateCheckPoint 2108
CreateEndOfRecoveryRecord 82
CreateOverwriteContrecordRecord 22
CreateRestartPoint 494
DataChecksumsEnabled 21550190
GetActiveWalLevelOnStandby 132
GetFakeLSNForUnloggedRel 66
GetFlushRecPtr 374678
GetFullPageWriteInfo 27934560
GetInsertRecPtr 11334
GetLastImportantRecPtr 2160
GetLastSegSwitchData 0
GetMockAuthenticationNonce 2
GetOldestRestartPoint 128
GetRecoveryState 116
GetRedoRecPtr 567788
GetSystemIdentifier 2570
GetWALAvailability 846
GetWALInsertionTimeLine 222260
GetWALInsertionTimeLineIfSet 0
GetXLogBuffer 31963518
GetXLogInsertRecPtr 3918
GetXLogWriteRecPtr 2610
InitControlFile 90
InitializeWalConsistencyChecking 1628
InstallXLogFileSegment 4748
IsInstallXLogFileSegmentActive 0
KeepLogSeg 3306
LocalProcessControlFile 1648
LocalSetXLogInsertAllowed 1586
LogCheckpointEnd 2478
LogCheckpointStart 1954
PerformRecoveryXLogAction 304
PreallocXlogFiles 2962
ReachedEndOfBackup 136
ReadControlFile 1738
RecoveryInProgress 163579854
RecoveryRestartPoint 752
RemoveNonParentXlogFiles 118
RemoveOldXlogFiles 2478
RemoveTempXlogFiles 340
RemoveXlogFile 3818
RequestXLogSwitch 738
ReserveXLogInsertLocation 27655566
ReserveXLogSwitch 738
SetInstallXLogFileSegmentActive 1926
SetWalWriterSleeping 812
ShutdownXLOG 1086
StartupXLOG 1634
SwitchIntoArchiveRecovery 4
UpdateCheckPointDistanceEstimate 2478
UpdateControlFile 15856
UpdateFullPageWrites 2524
UpdateLastRemovedPtr 3784
UpdateMinRecoveryPoint 181864
ValidateXLOGDirectoryStructure 1634
WALInsertLockAcquire 27667966
WALInsertLockAcquireExclusive 6190
WALInsertLockRelease 27674156
WALInsertLockUpdateInsertingAt 4815408
WALReadFromBuffers 186530
WaitXLogInsertionsToFinish 4412538
WriteControlFile 90
XLOGChooseNumBuffers 1898
XLOGShmemInit 1902
XLOGShmemSize 5436
XLOGfileslop 2478
XLogBackgroundFlush 33340
XLogBytePosToEndRecPtr 28408792
XLogBytePosToRecPtr 55317346
XLogCheckpointNeeded 7934
XLogFileClose 9446
XLogFileCopy 76
XLogFileInit 23592
XLogFileInitInternal 24062
XLogFileOpen 52
XLogFlush 1182870
XLogGetLastRemovedSegno 1922
XLogGetOldestSegno 10
XLogGetReplicationSlotMinimumLSN 3306
XLogInitNewTimeline 96
XLogInsertAllowed 57626180
XLogInsertRecord 27669746
XLogNeedsFlush 17028904
XLogPutNextOid 1068
XLogRecPtrToBytePos 3682
XLogReportParameters 1528
XLogRestorePoint 6
XLogSetAsyncXactLSN 83654
XLogSetReplicationSlotMinimumLSN 20220
XLogShutdownWalRcv 1838
XLogWrite 3720990
assign_checkpoint_completion_target 1966
assign_max_wal_size 9946
assign_wal_consistency_checking 3740
assign_wal_sync_method 1966
check_max_slot_wal_keep_size 2174
check_wal_buffers 3864
check_wal_consistency_checking 3742
check_wal_segment_size 3796
do_pg_abort_backup 20
do_pg_backup_start 320
do_pg_backup_stop 304
get_backup_status 362
get_sync_bit 26386
issue_xlog_fsync 259942
register_persistent_abort_backup_handler 10
show_archive_command 3412
show_in_hot_standby 26348
str_time 1454
update_checkpoint_display 4956
xlog_redo 78712

Generated by: LCOV version 1.14