LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
2209
2488
88.8 %
Date:
2026-02-07 15:18:00
Functions:
120
123
97.6 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
AdvanceXLInsertBuffer
5187308
BootStrapXLOG
102
CalculateCheckpointSegments
16410
CheckPointGuts
3564
CheckRequiredParameterValues
526
CheckXLogRemoved
238606
CleanupAfterArchiveRecovery
108
CleanupBackupHistory
310
CopyXLogRecordToWAL
30773316
CreateCheckPoint
3186
CreateEndOfRecoveryRecord
94
CreateOverwriteContrecordRecord
22
CreateRestartPoint
1154
DataChecksumsEnabled
20165394
GetActiveWalLevelOnStandby
0
GetDefaultCharSignedness
6
GetFakeLSNForUnloggedRel
66
GetFlushRecPtr
447820
GetFullPageWriteInfo
31087972
GetInsertRecPtr
17526
GetLastImportantRecPtr
3300
GetLastSegSwitchData
0
GetMockAuthenticationNonce
2
GetOldestRestartPoint
796
GetRecoveryState
49236
GetRedoRecPtr
604932
GetSystemIdentifier
2918
GetWALAvailability
1282
GetWALInsertionTimeLine
222848
GetWALInsertionTimeLineIfSet
2
GetXLogBuffer
35845810
GetXLogInsertRecPtr
4050
GetXLogWriteRecPtr
13300
InitControlFile
102
InitializeWalConsistencyChecking
1970
InstallXLogFileSegment
5844
IsInstallXLogFileSegmentActive
0
KeepLogSeg
4786
LocalProcessControlFile
1990
LocalSetXLogInsertAllowed
1918
LogCheckpointEnd
3564
LogCheckpointStart
2968
PerformRecoveryXLogAction
324
PreallocXlogFiles
4110
ReachedEndOfBackup
160
ReadControlFile
2092
RecoveryInProgress
161829616
RecoveryRestartPoint
1466
RemoveNonParentXlogFiles
134
RemoveOldXlogFiles
3564
RemoveTempXlogFiles
372
RemoveXlogFile
5104
RequestXLogSwitch
1594
ReserveXLogInsertLocation
30771836
ReserveXLogSwitch
1594
ResetInstallXLogFileSegmentActive
2278
SetInstallXLogFileSegmentActive
2362
SetWalWriterSleeping
1058
ShutdownXLOG
1372
StartupXLOG
1990
SwitchIntoArchiveRecovery
4
UpdateCheckPointDistanceEstimate
3564
UpdateControlFile
18906
UpdateFullPageWrites
3136
UpdateLastRemovedPtr
5072
UpdateMinRecoveryPoint
219442
ValidateXLOGDirectoryStructure
1990
WALInsertLockAcquire
30786044
WALInsertLockAcquireExclusive
8906
WALInsertLockRelease
30794950
WALInsertLockUpdateInsertingAt
5176796
WALReadFromBuffers
198052
WaitXLogInsertionsToFinish
4838358
WriteControlFile
102
XLOGChooseNumBuffers
2276
XLOGShmemInit
2280
XLOGShmemSize
6534
XLOGfileslop
3564
XLogBackgroundFlush
43264
XLogBytePosToEndRecPtr
31731234
XLogBytePosToRecPtr
61551996
XLogCheckpointNeeded
10510
XLogFileClose
13384
XLogFileCopy
88
XLogFileInit
29674
XLogFileInitInternal
30208
XLogFileOpen
442
XLogFlush
1413682
XLogGetLastRemovedSegno
2478
XLogGetOldestSegno
14
XLogGetReplicationSlotMinimumLSN
4800
XLogInitNewTimeline
108
XLogInsertAllowed
81942908
XLogInsertRecord
30789486
XLogNeedsFlush
17678764
XLogPutNextOid
1266
XLogRecPtrToBytePos
5200
XLogReportParameters
1860
XLogRestorePoint
6
XLogSetAsyncXactLSN
99594
XLogSetReplicationSlotMinimumLSN
62866
XLogShutdownWalRcv
1982
XLogWrite
4396258
assign_checkpoint_completion_target
2354
assign_max_wal_size
11964
assign_wal_consistency_checking
4304
assign_wal_sync_method
2354
check_wal_buffers
4630
check_wal_consistency_checking
4306
check_wal_segment_size
4550
do_pg_abort_backup
14
do_pg_backup_start
338
do_pg_backup_stop
326
get_backup_status
376
get_sync_bit
33390
issue_xlog_fsync
338966
register_persistent_abort_backup_handler
6
show_archive_command
3474
show_effective_wal_level
3538
show_in_hot_standby
31930
str_time
1766
update_checkpoint_display
7128
xlog_redo
89024
Generated by:
LCOV version 1.16