LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 18beta1
Lines:
2197
2479
88.6 %
Date:
2025-06-07 20:16:56
Functions:
119
122
97.5 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
GetLastSegSwitchData
0
GetWALInsertionTimeLineIfSet
0
IsInstallXLogFileSegmentActive
0
GetMockAuthenticationNonce
2
GetDefaultCharSignedness
6
SwitchIntoArchiveRecovery
6
XLogRestorePoint
6
register_persistent_abort_backup_handler
8
XLogGetOldestSegno
10
do_pg_abort_backup
16
CreateOverwriteContrecordRecord
20
GetFakeLSNForUnloggedRel
66
XLogFileCopy
76
CreateEndOfRecoveryRecord
84
BootStrapXLOG
98
CleanupAfterArchiveRecovery
98
InitControlFile
98
WriteControlFile
98
XLogInitNewTimeline
98
RemoveNonParentXlogFiles
120
GetActiveWalLevelOnStandby
138
ReachedEndOfBackup
140
XLogFileOpen
238
CleanupBackupHistory
288
do_pg_backup_stop
302
PerformRecoveryXLogAction
306
do_pg_backup_start
316
RemoveTempXlogFiles
346
get_backup_status
356
CheckRequiredParameterValues
486
GetOldestRestartPoint
844
SetWalWriterSleeping
926
GetWALAvailability
962
CreateRestartPoint
1158
XLogPutNextOid
1166
ShutdownXLOG
1214
RequestXLogSwitch
1378
ReserveXLogSwitch
1378
RecoveryRestartPoint
1414
str_time
1622
XLogReportParameters
1700
LocalSetXLogInsertAllowed
1758
InitializeWalConsistencyChecking
1798
LocalProcessControlFile
1818
StartupXLOG
1818
ValidateXLOGDirectoryStructure
1818
ReadControlFile
1916
XLOGChooseNumBuffers
2092
XLOGShmemInit
2096
XLogShutdownWalRcv
2098
XLogGetLastRemovedSegno
2114
SetInstallXLogFileSegmentActive
2150
assign_checkpoint_completion_target
2164
assign_wal_sync_method
2164
check_max_slot_wal_keep_size
2422
GetSystemIdentifier
2700
LogCheckpointStart
2746
UpdateFullPageWrites
2822
GetXLogWriteRecPtr
2904
CreateCheckPoint
2950
GetLastImportantRecPtr
3014
CheckPointGuts
3318
LogCheckpointEnd
3318
RemoveOldXlogFiles
3318
UpdateCheckPointDistanceEstimate
3318
XLOGfileslop
3318
show_archive_command
3546
PreallocXlogFiles
3854
GetXLogInsertRecPtr
3944
assign_wal_consistency_checking
3954
check_wal_consistency_checking
3956
check_wal_segment_size
4180
KeepLogSeg
4256
XLogGetReplicationSlotMinimumLSN
4256
check_wal_buffers
4256
XLogRecPtrToBytePos
4670
UpdateLastRemovedPtr
5026
RemoveXlogFile
5058
InstallXLogFileSegment
5718
XLOGShmemSize
5994
update_checkpoint_display
6636
WALInsertLockAcquireExclusive
8250
XLogCheckpointNeeded
10088
assign_max_wal_size
10482
XLogFileClose
12552
CalculateCheckpointSegments
14562
GetInsertRecPtr
15664
UpdateControlFile
17624
XLogFileInit
27728
XLogFileInitInternal
28274
show_in_hot_standby
29456
get_sync_bit
31166
XLogBackgroundFlush
34618
GetRecoveryState
37934
XLogSetReplicationSlotMinimumLSN
62822
xlog_redo
84354
XLogSetAsyncXactLSN
97026
WALReadFromBuffers
193480
UpdateMinRecoveryPoint
204222
GetWALInsertionTimeLine
219368
CheckXLogRemoved
233316
issue_xlog_fsync
323242
GetFlushRecPtr
412608
GetRedoRecPtr
591228
XLogFlush
1338422
XLogWrite
3876934
WaitXLogInsertionsToFinish
3951364
WALInsertLockUpdateInsertingAt
4683782
AdvanceXLInsertBuffer
4693120
XLogNeedsFlush
18177832
DataChecksumsEnabled
19762870
ReserveXLogInsertLocation
29047270
CopyXLogRecordToWAL
29048540
WALInsertLockAcquire
29060168
XLogInsertRecord
29063308
WALInsertLockRelease
29068418
GetFullPageWriteInfo
29347606
XLogBytePosToEndRecPtr
29841604
GetXLogBuffer
33614794
XLogBytePosToRecPtr
58102188
XLogInsertAllowed
60675770
RecoveryInProgress
176217844
Generated by:
LCOV version 1.16