LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
2166
2447
88.5 %
Date:
2025-10-02 22:17:21
Functions:
118
121
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
register_persistent_abort_backup_handler
8
XLogGetOldestSegno
10
do_pg_abort_backup
16
CreateOverwriteContrecordRecord
22
GetFakeLSNForUnloggedRel
66
XLogFileCopy
78
CreateEndOfRecoveryRecord
84
CleanupAfterArchiveRecovery
98
XLogInitNewTimeline
98
BootStrapXLOG
100
InitControlFile
100
WriteControlFile
100
RemoveNonParentXlogFiles
120
GetActiveWalLevelOnStandby
138
ReachedEndOfBackup
142
XLogFileOpen
168
CleanupBackupHistory
300
PerformRecoveryXLogAction
310
do_pg_backup_stop
314
do_pg_backup_start
328
RemoveTempXlogFiles
350
get_backup_status
368
CheckRequiredParameterValues
492
GetOldestRestartPoint
806
SetWalWriterSleeping
976
GetWALAvailability
1060
CreateRestartPoint
1186
XLogPutNextOid
1212
ShutdownXLOG
1298
RecoveryRestartPoint
1416
RequestXLogSwitch
1560
ReserveXLogSwitch
1560
str_time
1674
XLogReportParameters
1776
LocalSetXLogInsertAllowed
1834
InitializeWalConsistencyChecking
1874
LocalProcessControlFile
1894
StartupXLOG
1894
ValidateXLOGDirectoryStructure
1894
ReadControlFile
1994
XLogShutdownWalRcv
2152
XLOGChooseNumBuffers
2174
XLOGShmemInit
2178
XLogGetLastRemovedSegno
2180
SetInstallXLogFileSegmentActive
2224
assign_checkpoint_completion_target
2252
assign_wal_sync_method
2252
GetSystemIdentifier
2778
LogCheckpointStart
2844
UpdateFullPageWrites
2962
CreateCheckPoint
3050
GetLastImportantRecPtr
3104
CheckPointGuts
3428
LogCheckpointEnd
3428
RemoveOldXlogFiles
3428
UpdateCheckPointDistanceEstimate
3428
XLOGfileslop
3428
show_archive_command
3478
PreallocXlogFiles
3958
GetXLogInsertRecPtr
3982
assign_wal_consistency_checking
4042
check_wal_consistency_checking
4044
check_wal_segment_size
4348
KeepLogSeg
4412
XLogGetReplicationSlotMinimumLSN
4412
check_wal_buffers
4426
XLogRecPtrToBytePos
4992
UpdateLastRemovedPtr
5050
RemoveXlogFile
5084
InstallXLogFileSegment
5724
XLOGShmemSize
6234
update_checkpoint_display
6856
WALInsertLockAcquireExclusive
8578
XLogCheckpointNeeded
10080
assign_max_wal_size
11136
XLogFileClose
11978
GetXLogWriteRecPtr
13612
GetInsertRecPtr
13940
CalculateCheckpointSegments
15382
UpdateControlFile
18040
XLogFileInit
27808
XLogFileInitInternal
28336
show_in_hot_standby
30016
get_sync_bit
31182
GetRecoveryState
38288
XLogSetReplicationSlotMinimumLSN
51428
XLogBackgroundFlush
58930
xlog_redo
86808
XLogSetAsyncXactLSN
94530
WALReadFromBuffers
193468
UpdateMinRecoveryPoint
210104
GetWALInsertionTimeLine
248168
CheckXLogRemoved
265138
issue_xlog_fsync
311364
GetFlushRecPtr
519446
GetRedoRecPtr
589338
XLogFlush
1364232
XLogWrite
4198266
WaitXLogInsertionsToFinish
4884528
WALInsertLockUpdateInsertingAt
5370442
AdvanceXLInsertBuffer
5379168
XLogNeedsFlush
17391754
DataChecksumsEnabled
20139138
ReserveXLogInsertLocation
29140074
CopyXLogRecordToWAL
29141514
WALInsertLockAcquire
29153576
XLogInsertRecord
29156918
WALInsertLockRelease
29162154
GetFullPageWriteInfo
29441910
XLogBytePosToEndRecPtr
29991086
GetXLogBuffer
34068120
XLogBytePosToRecPtr
58288256
XLogInsertAllowed
78307838
RecoveryInProgress
161280280
Generated by:
LCOV version 1.16