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

Function Name Sort by function name Hit count Sort by hit count
GetLastSegSwitchData 0
GetWALInsertionTimeLineIfSet 0
IsInstallXLogFileSegmentActive 0
GetMockAuthenticationNonce 2
SwitchIntoArchiveRecovery 4
GetDefaultCharSignedness 6
XLogRestorePoint 6
register_persistent_abort_backup_handler 8
XLogGetOldestSegno 10
do_pg_abort_backup 16
CreateOverwriteContrecordRecord 22
GetFakeLSNForUnloggedRel 66
XLogFileCopy 80
CreateEndOfRecoveryRecord 82
CleanupAfterArchiveRecovery 96
XLogInitNewTimeline 96
BootStrapXLOG 98
InitControlFile 98
WriteControlFile 98
XLogFileOpen 114
RemoveNonParentXlogFiles 118
GetActiveWalLevelOnStandby 138
ReachedEndOfBackup 138
CleanupBackupHistory 292
PerformRecoveryXLogAction 304
do_pg_backup_stop 306
do_pg_backup_start 320
RemoveTempXlogFiles 342
get_backup_status 360
CheckRequiredParameterValues 482
GetOldestRestartPoint 788
SetWalWriterSleeping 932
GetWALAvailability 950
XLogPutNextOid 1160
CreateRestartPoint 1164
ShutdownXLOG 1214
RequestXLogSwitch 1386
ReserveXLogSwitch 1386
RecoveryRestartPoint 1404
str_time 1618
XLogReportParameters 1698
LocalSetXLogInsertAllowed 1756
InitializeWalConsistencyChecking 1798
StartupXLOG 1814
ValidateXLOGDirectoryStructure 1814
LocalProcessControlFile 1818
ReadControlFile 1916
XLogShutdownWalRcv 2040
XLOGChooseNumBuffers 2092
XLOGShmemInit 2096
XLogGetLastRemovedSegno 2102
SetInstallXLogFileSegmentActive 2144
assign_checkpoint_completion_target 2164
assign_wal_sync_method 2164
check_max_slot_wal_keep_size 2422
GetSystemIdentifier 2708
LogCheckpointStart 2750
UpdateFullPageWrites 2820
GetXLogWriteRecPtr 2876
CreateCheckPoint 2946
GetLastImportantRecPtr 3018
CheckPointGuts 3322
LogCheckpointEnd 3322
RemoveOldXlogFiles 3322
UpdateCheckPointDistanceEstimate 3322
XLOGfileslop 3322
show_archive_command 3570
PreallocXlogFiles 3856
assign_wal_consistency_checking 3954
check_wal_consistency_checking 3956
GetXLogInsertRecPtr 3968
check_wal_segment_size 4180
KeepLogSeg 4246
XLogGetReplicationSlotMinimumLSN 4246
check_wal_buffers 4256
XLogRecPtrToBytePos 4668
UpdateLastRemovedPtr 5024
RemoveXlogFile 5054
InstallXLogFileSegment 5728
XLOGShmemSize 5994
update_checkpoint_display 6644
WALInsertLockAcquireExclusive 8204
XLogCheckpointNeeded 10106
assign_max_wal_size 10502
XLogFileClose 12616
CalculateCheckpointSegments 14582
GetInsertRecPtr 15626
UpdateControlFile 17644
XLogFileInit 27946
XLogFileInitInternal 28456
show_in_hot_standby 29042
get_sync_bit 31216
XLogBackgroundFlush 32056
GetRecoveryState 39278
XLogSetReplicationSlotMinimumLSN 48050
xlog_redo 84704
XLogSetAsyncXactLSN 97166
WALReadFromBuffers 193440
UpdateMinRecoveryPoint 205644
GetWALInsertionTimeLine 212138
CheckXLogRemoved 227410
issue_xlog_fsync 310028
GetFlushRecPtr 426082
GetRedoRecPtr 591106
XLogFlush 1349488
XLogWrite 3882604
WaitXLogInsertionsToFinish 3950194
WALInsertLockUpdateInsertingAt 4896974
AdvanceXLInsertBuffer 4906526
XLogNeedsFlush 18109712
DataChecksumsEnabled 20188698
ReserveXLogInsertLocation 29063666
CopyXLogRecordToWAL 29064938
WALInsertLockAcquire 29076578
XLogInsertRecord 29079724
WALInsertLockRelease 29084782
GetFullPageWriteInfo 29365018
XLogBytePosToEndRecPtr 29833366
GetXLogBuffer 33634054
XLogBytePosToRecPtr 58135008
XLogInsertAllowed 60719656
RecoveryInProgress 177896690

Generated by: LCOV version 1.16