LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
2190
2468
88.7 %
Date:
2025-08-21 07:17:02
Functions:
118
121
97.5 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
AdvanceXLInsertBuffer
5034432
BootStrapXLOG
100
CalculateCheckpointSegments
15220
CheckPointGuts
3388
CheckRequiredParameterValues
492
CheckXLogRemoved
247102
CleanupAfterArchiveRecovery
98
CleanupBackupHistory
298
CopyXLogRecordToWAL
29068980
CreateCheckPoint
3016
CreateEndOfRecoveryRecord
84
CreateOverwriteContrecordRecord
20
CreateRestartPoint
1166
DataChecksumsEnabled
19814438
GetActiveWalLevelOnStandby
138
GetDefaultCharSignedness
6
GetFakeLSNForUnloggedRel
66
GetFlushRecPtr
444764
GetFullPageWriteInfo
29368180
GetInsertRecPtr
15386
GetLastImportantRecPtr
3078
GetLastSegSwitchData
0
GetMockAuthenticationNonce
2
GetOldestRestartPoint
792
GetRecoveryState
37886
GetRedoRecPtr
588546
GetSystemIdentifier
2760
GetWALAvailability
1008
GetWALInsertionTimeLine
228148
GetWALInsertionTimeLineIfSet
0
GetXLogBuffer
33976220
GetXLogInsertRecPtr
3952
GetXLogWriteRecPtr
3016
InitControlFile
100
InitializeWalConsistencyChecking
1848
InstallXLogFileSegment
5728
IsInstallXLogFileSegmentActive
0
KeepLogSeg
4350
LocalProcessControlFile
1868
LocalSetXLogInsertAllowed
1808
LogCheckpointEnd
3388
LogCheckpointStart
2804
PerformRecoveryXLogAction
310
PreallocXlogFiles
3918
ReachedEndOfBackup
142
ReadControlFile
1968
RecoveryInProgress
175423260
RecoveryRestartPoint
1410
RemoveNonParentXlogFiles
120
RemoveOldXlogFiles
3388
RemoveTempXlogFiles
350
RemoveXlogFile
5064
RequestXLogSwitch
1556
ReserveXLogInsertLocation
29067540
ReserveXLogSwitch
1556
SetInstallXLogFileSegmentActive
2210
SetWalWriterSleeping
954
ShutdownXLOG
1272
StartupXLOG
1868
SwitchIntoArchiveRecovery
4
UpdateCheckPointDistanceEstimate
3388
UpdateControlFile
17914
UpdateFullPageWrites
2910
UpdateLastRemovedPtr
5030
UpdateMinRecoveryPoint
208290
ValidateXLOGDirectoryStructure
1868
WALInsertLockAcquire
29080898
WALInsertLockAcquireExclusive
8554
WALInsertLockRelease
29089452
WALInsertLockUpdateInsertingAt
5025156
WALReadFromBuffers
194002
WaitXLogInsertionsToFinish
4215430
WriteControlFile
100
XLOGChooseNumBuffers
2148
XLOGShmemInit
2152
XLOGShmemSize
6156
XLOGfileslop
3388
XLogBackgroundFlush
43064
XLogBytePosToEndRecPtr
29860402
XLogBytePosToRecPtr
58143132
XLogCheckpointNeeded
10078
XLogFileClose
12354
XLogFileCopy
76
XLogFileInit
28084
XLogFileInitInternal
28604
XLogFileOpen
176
XLogFlush
1348686
XLogGetLastRemovedSegno
2158
XLogGetOldestSegno
10
XLogGetReplicationSlotMinimumLSN
4350
XLogInitNewTimeline
98
XLogInsertAllowed
60754316
XLogInsertRecord
29084228
XLogNeedsFlush
17395882
XLogPutNextOid
1202
XLogRecPtrToBytePos
4940
XLogReportParameters
1750
XLogRestorePoint
6
XLogSetAsyncXactLSN
95222
XLogSetReplicationSlotMinimumLSN
60892
XLogShutdownWalRcv
2120
XLogWrite
4143592
assign_checkpoint_completion_target
2226
assign_max_wal_size
11026
assign_wal_consistency_checking
4016
assign_wal_sync_method
2226
check_wal_buffers
4374
check_wal_consistency_checking
4018
check_wal_segment_size
4296
do_pg_abort_backup
16
do_pg_backup_start
326
do_pg_backup_stop
312
get_backup_status
366
get_sync_bit
31446
issue_xlog_fsync
318476
register_persistent_abort_backup_handler
8
show_archive_command
3444
show_in_hot_standby
29840
str_time
1648
update_checkpoint_display
6776
xlog_redo
87014
Generated by:
LCOV version 1.16