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 19:18:25
Functions:
120
123
97.6 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
AdvanceXLInsertBuffer
4971994
BootStrapXLOG
102
CalculateCheckpointSegments
16404
CheckPointGuts
3582
CheckRequiredParameterValues
530
CheckXLogRemoved
247484
CleanupAfterArchiveRecovery
110
CleanupBackupHistory
314
CopyXLogRecordToWAL
30766130
CreateCheckPoint
3180
CreateEndOfRecoveryRecord
96
CreateOverwriteContrecordRecord
22
CreateRestartPoint
1246
DataChecksumsEnabled
20135568
GetActiveWalLevelOnStandby
0
GetDefaultCharSignedness
6
GetFakeLSNForUnloggedRel
66
GetFlushRecPtr
525556
GetFullPageWriteInfo
31080844
GetInsertRecPtr
13786
GetLastImportantRecPtr
3304
GetLastSegSwitchData
0
GetMockAuthenticationNonce
2
GetOldestRestartPoint
786
GetRecoveryState
92128
GetRedoRecPtr
604090
GetSystemIdentifier
2952
GetWALAvailability
1270
GetWALInsertionTimeLine
228832
GetWALInsertionTimeLineIfSet
2
GetXLogBuffer
35855296
GetXLogInsertRecPtr
4048
GetXLogWriteRecPtr
29808
InitControlFile
102
InitializeWalConsistencyChecking
1970
InstallXLogFileSegment
5988
IsInstallXLogFileSegmentActive
0
KeepLogSeg
4796
LocalProcessControlFile
1990
LocalSetXLogInsertAllowed
1920
LogCheckpointEnd
3582
LogCheckpointStart
2986
PerformRecoveryXLogAction
326
PreallocXlogFiles
4130
ReachedEndOfBackup
162
ReadControlFile
2092
RecoveryInProgress
162603348
RecoveryRestartPoint
1464
RemoveNonParentXlogFiles
134
RemoveOldXlogFiles
3582
RemoveTempXlogFiles
374
RemoveXlogFile
4862
RequestXLogSwitch
1604
ReserveXLogInsertLocation
30764644
ReserveXLogSwitch
1604
ResetInstallXLogFileSegmentActive
2290
SetInstallXLogFileSegmentActive
2372
SetWalWriterSleeping
1072
ShutdownXLOG
1372
StartupXLOG
1992
SwitchIntoArchiveRecovery
4
UpdateCheckPointDistanceEstimate
3582
UpdateControlFile
19116
UpdateFullPageWrites
3138
UpdateLastRemovedPtr
4830
UpdateMinRecoveryPoint
222988
ValidateXLOGDirectoryStructure
1992
WALInsertLockAcquire
30778788
WALInsertLockAcquireExclusive
8946
WALInsertLockRelease
30787734
WALInsertLockUpdateInsertingAt
4961986
WALReadFromBuffers
209576
WaitXLogInsertionsToFinish
4677294
WriteControlFile
102
XLOGChooseNumBuffers
2276
XLOGShmemInit
2280
XLOGShmemSize
6534
XLOGfileslop
3582
XLogBackgroundFlush
36386
XLogBytePosToEndRecPtr
31710004
XLogBytePosToRecPtr
61537622
XLogCheckpointNeeded
9572
XLogFileClose
13066
XLogFileCopy
92
XLogFileInit
29538
XLogFileInitInternal
30006
XLogFileOpen
252
XLogFlush
1414848
XLogGetLastRemovedSegno
2468
XLogGetOldestSegno
14
XLogGetReplicationSlotMinimumLSN
4810
XLogInitNewTimeline
110
XLogInsertAllowed
81700552
XLogInsertRecord
30782230
XLogNeedsFlush
17449680
XLogPutNextOid
1264
XLogRecPtrToBytePos
5210
XLogReportParameters
1862
XLogRestorePoint
6
XLogSetAsyncXactLSN
99626
XLogSetReplicationSlotMinimumLSN
69510
XLogShutdownWalRcv
1986
XLogWrite
4417862
assign_checkpoint_completion_target
2354
assign_max_wal_size
11958
assign_wal_consistency_checking
4292
assign_wal_sync_method
2354
check_wal_buffers
4630
check_wal_consistency_checking
4294
check_wal_segment_size
4550
do_pg_abort_backup
14
do_pg_backup_start
342
do_pg_backup_stop
330
get_backup_status
380
get_sync_bit
33252
issue_xlog_fsync
344498
register_persistent_abort_backup_handler
6
show_archive_command
3466
show_effective_wal_level
3526
show_in_hot_standby
31708
str_time
1768
update_checkpoint_display
7164
xlog_redo
89252
Generated by:
LCOV version 1.16