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-03 17:14:58 Functions: 118 121 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
XLogRestorePoint 6
XLogGetOldestSegno 10
register_persistent_abort_backup_handler 10
do_pg_abort_backup 20
CreateOverwriteContrecordRecord 22
XLogFileOpen 48
GetFakeLSNForUnloggedRel 66
XLogFileCopy 76
CreateEndOfRecoveryRecord 82
BootStrapXLOG 90
InitControlFile 90
WriteControlFile 90
CleanupAfterArchiveRecovery 96
XLogInitNewTimeline 96
GetRecoveryState 118
RemoveNonParentXlogFiles 118
GetActiveWalLevelOnStandby 132
GetOldestRestartPoint 132
ReachedEndOfBackup 136
CleanupBackupHistory 290
PerformRecoveryXLogAction 304
do_pg_backup_stop 304
do_pg_backup_start 320
RemoveTempXlogFiles 340
get_backup_status 362
CheckRequiredParameterValues 470
CreateRestartPoint 498
RequestXLogSwitch 738
ReserveXLogSwitch 738
RecoveryRestartPoint 754
SetWalWriterSleeping 814
GetWALAvailability 850
XLogPutNextOid 1068
ShutdownXLOG 1086
str_time 1454
XLogReportParameters 1528
LocalSetXLogInsertAllowed 1586
InitializeWalConsistencyChecking 1628
StartupXLOG 1634
ValidateXLOGDirectoryStructure 1634
LocalProcessControlFile 1648
ReadControlFile 1738
XLogShutdownWalRcv 1834
XLOGChooseNumBuffers 1898
XLOGShmemInit 1902
SetInstallXLogFileSegmentActive 1916
XLogGetLastRemovedSegno 1930
LogCheckpointStart 1960
assign_checkpoint_completion_target 1966
assign_wal_sync_method 1966
CreateCheckPoint 2110
GetLastImportantRecPtr 2158
check_max_slot_wal_keep_size 2174
CheckPointGuts 2484
LogCheckpointEnd 2484
RemoveOldXlogFiles 2484
UpdateCheckPointDistanceEstimate 2484
XLOGfileslop 2484
UpdateFullPageWrites 2524
GetSystemIdentifier 2576
GetXLogWriteRecPtr 2620
PreallocXlogFiles 2968
KeepLogSeg 3316
XLogGetReplicationSlotMinimumLSN 3316
show_archive_command 3396
XLogRecPtrToBytePos 3682
assign_wal_consistency_checking 3740
check_wal_consistency_checking 3742
UpdateLastRemovedPtr 3782
check_wal_segment_size 3796
RemoveXlogFile 3814
check_wal_buffers 3864
GetXLogInsertRecPtr 3904
InstallXLogFileSegment 4702
update_checkpoint_display 4968
XLOGShmemSize 5436
WALInsertLockAcquireExclusive 6198
XLogCheckpointNeeded 7866
XLogFileClose 9438
assign_max_wal_size 9954
GetInsertRecPtr 11230
CalculateCheckpointSegments 13658
UpdateControlFile 15832
XLogSetReplicationSlotMinimumLSN 16396
XLogFileInit 23600
XLogFileInitInternal 24098
get_sync_bit 26394
show_in_hot_standby 26422
XLogBackgroundFlush 30528
xlog_redo 79110
XLogSetAsyncXactLSN 82990
WALReadFromBuffers 182232
UpdateMinRecoveryPoint 183112
GetWALInsertionTimeLine 215774
CheckXLogRemoved 230702
issue_xlog_fsync 253714
GetFlushRecPtr 365722
GetRedoRecPtr 568016
XLogFlush 1185856
XLogWrite 3721856
WaitXLogInsertionsToFinish 4416680
WALInsertLockUpdateInsertingAt 4804074
AdvanceXLInsertBuffer 4811004
XLogNeedsFlush 17029736
DataChecksumsEnabled 21576100
ReserveXLogInsertLocation 27657938
CopyXLogRecordToWAL 27658564
WALInsertLockAcquire 27670336
XLogInsertRecord 27672118
WALInsertLockRelease 27676534
GetFullPageWriteInfo 27938226
XLogBytePosToEndRecPtr 28409966
GetXLogBuffer 31965140
XLogBytePosToRecPtr 55322076
XLogInsertAllowed 57633910
RecoveryInProgress 163518002

Generated by: LCOV version 1.14