LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 18beta1
Lines:
2194
2481
88.4 %
Date:
2025-05-09 07:15:10
Functions:
119
122
97.5 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
GetLastSegSwitchData
0
GetWALInsertionTimeLineIfSet
0
IsInstallXLogFileSegmentActive
0
GetMockAuthenticationNonce
2
SwitchIntoArchiveRecovery
4
GetDefaultCharSignedness
6
XLogRestorePoint
6
XLogGetOldestSegno
10
register_persistent_abort_backup_handler
10
do_pg_abort_backup
18
CreateOverwriteContrecordRecord
22
XLogFileOpen
32
GetFakeLSNForUnloggedRel
66
XLogFileCopy
78
CreateEndOfRecoveryRecord
84
BootStrapXLOG
98
CleanupAfterArchiveRecovery
98
InitControlFile
98
WriteControlFile
98
XLogInitNewTimeline
98
RemoveNonParentXlogFiles
120
GetActiveWalLevelOnStandby
138
ReachedEndOfBackup
140
CleanupBackupHistory
298
PerformRecoveryXLogAction
306
do_pg_backup_stop
312
do_pg_backup_start
326
RemoveTempXlogFiles
344
get_backup_status
368
CheckRequiredParameterValues
484
GetOldestRestartPoint
782
GetWALAvailability
902
SetWalWriterSleeping
916
XLogPutNextOid
1166
CreateRestartPoint
1184
ShutdownXLOG
1212
ReserveXLogSwitch
1394
RequestXLogSwitch
1398
RecoveryRestartPoint
1410
str_time
1618
GetRecoveryState
1638
XLogReportParameters
1698
LocalSetXLogInsertAllowed
1756
InitializeWalConsistencyChecking
1802
StartupXLOG
1814
ValidateXLOGDirectoryStructure
1814
LocalProcessControlFile
1822
ReadControlFile
1920
XLogShutdownWalRcv
2028
XLogGetLastRemovedSegno
2056
XLOGChooseNumBuffers
2096
XLOGShmemInit
2100
SetInstallXLogFileSegmentActive
2126
assign_checkpoint_completion_target
2168
assign_wal_sync_method
2168
check_max_slot_wal_keep_size
2422
GetSystemIdentifier
2710
LogCheckpointStart
2748
GetXLogWriteRecPtr
2818
UpdateFullPageWrites
2818
CreateCheckPoint
2946
GetLastImportantRecPtr
3004
CheckPointGuts
3320
LogCheckpointEnd
3320
RemoveOldXlogFiles
3320
UpdateCheckPointDistanceEstimate
3320
XLOGfileslop
3320
show_archive_command
3562
PreallocXlogFiles
3856
assign_wal_consistency_checking
3958
check_wal_consistency_checking
3960
GetXLogInsertRecPtr
3972
check_wal_segment_size
4188
KeepLogSeg
4202
XLogGetReplicationSlotMinimumLSN
4202
check_wal_buffers
4264
XLogRecPtrToBytePos
4672
UpdateLastRemovedPtr
5244
RemoveXlogFile
5276
InstallXLogFileSegment
5736
XLOGShmemSize
6006
update_checkpoint_display
6640
WALInsertLockAcquireExclusive
8522
XLogCheckpointNeeded
10346
assign_max_wal_size
10490
XLogFileClose
11546
GetInsertRecPtr
12594
CalculateCheckpointSegments
14578
UpdateControlFile
17658
XLogSetReplicationSlotMinimumLSN
23708
XLogFileInit
26924
XLogFileInitInternal
27434
get_sync_bit
29946
show_in_hot_standby
31744
XLogBackgroundFlush
47972
xlog_redo
83274
XLogSetAsyncXactLSN
94938
WALReadFromBuffers
190880
UpdateMinRecoveryPoint
203774
GetWALInsertionTimeLine
240054
CheckXLogRemoved
254998
issue_xlog_fsync
287548
GetFlushRecPtr
423400
GetRedoRecPtr
588908
XLogFlush
1325996
XLogWrite
3902340
WaitXLogInsertionsToFinish
3960670
WALInsertLockUpdateInsertingAt
4980008
AdvanceXLInsertBuffer
4987566
XLogNeedsFlush
18339496
DataChecksumsEnabled
23777394
ReserveXLogInsertLocation
29068312
CopyXLogRecordToWAL
29069588
WALInsertLockAcquire
29081188
XLogInsertRecord
29084344
WALInsertLockRelease
29089710
GetFullPageWriteInfo
29371502
XLogBytePosToEndRecPtr
29823488
GetXLogBuffer
33657082
XLogBytePosToRecPtr
58144310
XLogInsertAllowed
60705652
RecoveryInProgress
174315412
Generated by:
LCOV version 1.14