LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
2208
2488
88.7 %
Date:
2026-02-07 18:18:04
Functions:
120
123
97.6 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
AdvanceXLInsertBuffer
4991672
BootStrapXLOG
102
CalculateCheckpointSegments
16430
CheckPointGuts
3564
CheckRequiredParameterValues
524
CheckXLogRemoved
246500
CleanupAfterArchiveRecovery
110
CleanupBackupHistory
308
CopyXLogRecordToWAL
30764318
CreateCheckPoint
3176
CreateEndOfRecoveryRecord
96
CreateOverwriteContrecordRecord
22
CreateRestartPoint
1224
DataChecksumsEnabled
20271914
GetActiveWalLevelOnStandby
0
GetDefaultCharSignedness
6
GetFakeLSNForUnloggedRel
66
GetFlushRecPtr
479940
GetFullPageWriteInfo
31078452
GetInsertRecPtr
14806
GetLastImportantRecPtr
3294
GetLastSegSwitchData
0
GetMockAuthenticationNonce
2
GetOldestRestartPoint
778
GetRecoveryState
42150
GetRedoRecPtr
604030
GetSystemIdentifier
2926
GetWALAvailability
1216
GetWALInsertionTimeLine
230312
GetWALInsertionTimeLineIfSet
2
GetXLogBuffer
35835224
GetXLogInsertRecPtr
4050
GetXLogWriteRecPtr
16160
InitControlFile
102
InitializeWalConsistencyChecking
1970
InstallXLogFileSegment
5964
IsInstallXLogFileSegmentActive
0
KeepLogSeg
4726
LocalProcessControlFile
1990
LocalSetXLogInsertAllowed
1920
LogCheckpointEnd
3564
LogCheckpointStart
2968
PerformRecoveryXLogAction
326
PreallocXlogFiles
4112
ReachedEndOfBackup
160
ReadControlFile
2092
RecoveryInProgress
162816820
RecoveryRestartPoint
1456
RemoveNonParentXlogFiles
132
RemoveOldXlogFiles
3564
RemoveTempXlogFiles
372
RemoveXlogFile
5128
RequestXLogSwitch
1592
ReserveXLogInsertLocation
30762838
ReserveXLogSwitch
1592
ResetInstallXLogFileSegmentActive
2306
SetInstallXLogFileSegmentActive
2386
SetWalWriterSleeping
1082
ShutdownXLOG
1372
StartupXLOG
1990
SwitchIntoArchiveRecovery
4
UpdateCheckPointDistanceEstimate
3564
UpdateControlFile
19036
UpdateFullPageWrites
3138
UpdateLastRemovedPtr
5096
UpdateMinRecoveryPoint
221090
ValidateXLOGDirectoryStructure
1990
WALInsertLockAcquire
30776992
WALInsertLockAcquireExclusive
8904
WALInsertLockRelease
30785896
WALInsertLockUpdateInsertingAt
4981690
WALReadFromBuffers
209566
WaitXLogInsertionsToFinish
4692028
WriteControlFile
102
XLOGChooseNumBuffers
2276
XLOGShmemInit
2280
XLOGShmemSize
6534
XLOGfileslop
3564
XLogBackgroundFlush
38036
XLogBytePosToEndRecPtr
31711964
XLogBytePosToRecPtr
61534000
XLogCheckpointNeeded
9634
XLogFileClose
13010
XLogFileCopy
86
XLogFileInit
29316
XLogFileInitInternal
29812
XLogFileOpen
352
XLogFlush
1410202
XLogGetLastRemovedSegno
2416
XLogGetOldestSegno
14
XLogGetReplicationSlotMinimumLSN
4740
XLogInitNewTimeline
110
XLogInsertAllowed
81793484
XLogInsertRecord
30780420
XLogNeedsFlush
17530844
XLogPutNextOid
1268
XLogRecPtrToBytePos
5204
XLogReportParameters
1862
XLogRestorePoint
6
XLogSetAsyncXactLSN
99996
XLogSetReplicationSlotMinimumLSN
62542
XLogShutdownWalRcv
1992
XLogWrite
4407290
assign_checkpoint_completion_target
2354
assign_max_wal_size
11984
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
16
do_pg_backup_start
338
do_pg_backup_stop
324
get_backup_status
378
get_sync_bit
32884
issue_xlog_fsync
337154
register_persistent_abort_backup_handler
8
show_archive_command
3476
show_effective_wal_level
3538
show_in_hot_standby
31892
str_time
1766
update_checkpoint_display
7128
xlog_redo
88290
Generated by:
LCOV version 1.16