LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
2196
2477
88.7 %
Date:
2025-12-28 13:17:11
Functions:
119
123
96.7 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
AdvanceXLInsertBuffer
5234220
BootStrapXLOG
102
CalculateCheckpointSegments
16048
CheckPointGuts
3546
CheckRequiredParameterValues
520
CheckXLogRemoved
243758
CleanupAfterArchiveRecovery
110
CleanupBackupHistory
308
CopyXLogRecordToWAL
30714528
CreateCheckPoint
3166
CreateEndOfRecoveryRecord
96
CreateOverwriteContrecordRecord
20
CreateRestartPoint
1180
DataChecksumsEnabled
20029676
GetActiveWalLevelOnStandby
0
GetDefaultCharSignedness
6
GetFakeLSNForUnloggedRel
66
GetFlushRecPtr
456122
GetFullPageWriteInfo
31026710
GetInsertRecPtr
16800
GetLastImportantRecPtr
3250
GetLastSegSwitchData
0
GetMockAuthenticationNonce
2
GetOldestRestartPoint
780
GetRecoveryState
44672
GetRedoRecPtr
606016
GetSystemIdentifier
2904
GetWALAvailability
1056
GetWALInsertionTimeLine
225618
GetWALInsertionTimeLineIfSet
0
GetXLogBuffer
35751524
GetXLogInsertRecPtr
4024
GetXLogWriteRecPtr
18758
InitControlFile
102
InitializeWalConsistencyChecking
1956
InstallXLogFileSegment
5840
IsInstallXLogFileSegmentActive
0
KeepLogSeg
4546
LocalProcessControlFile
1976
LocalSetXLogInsertAllowed
1908
LogCheckpointEnd
3546
LogCheckpointStart
2950
PerformRecoveryXLogAction
324
PreallocXlogFiles
4092
ReachedEndOfBackup
156
ReadControlFile
2078
RecoveryInProgress
161989902
RecoveryRestartPoint
1454
RemoveNonParentXlogFiles
134
RemoveOldXlogFiles
3546
RemoveTempXlogFiles
368
RemoveXlogFile
5080
RequestXLogSwitch
1590
ReserveXLogInsertLocation
30713054
ReserveXLogSwitch
1590
ResetInstallXLogFileSegmentActive
2236
SetInstallXLogFileSegmentActive
2332
SetWalWriterSleeping
1040
ShutdownXLOG
1364
StartupXLOG
1978
SwitchIntoArchiveRecovery
4
UpdateCheckPointDistanceEstimate
3546
UpdateControlFile
18876
UpdateFullPageWrites
3108
UpdateLastRemovedPtr
5048
UpdateMinRecoveryPoint
220304
ValidateXLOGDirectoryStructure
1978
WALInsertLockAcquire
30727044
WALInsertLockAcquireExclusive
8888
WALInsertLockRelease
30735932
WALInsertLockUpdateInsertingAt
5224320
WALReadFromBuffers
198262
WaitXLogInsertionsToFinish
4831312
WriteControlFile
102
XLOGChooseNumBuffers
2262
XLOGShmemInit
2266
XLOGShmemSize
6492
XLOGfileslop
3546
XLogBackgroundFlush
37052
XLogBytePosToEndRecPtr
31668194
XLogBytePosToRecPtr
61434386
XLogCheckpointNeeded
10412
XLogFileClose
12928
XLogFileCopy
86
XLogFileInit
28982
XLogFileInitInternal
29524
XLogFileOpen
472
XLogFlush
1413992
XLogGetLastRemovedSegno
2244
XLogGetOldestSegno
12
XLogGetReplicationSlotMinimumLSN
4546
XLogInitNewTimeline
110
XLogInsertAllowed
81678272
XLogInsertRecord
30730470
XLogNeedsFlush
17540086
XLogPutNextOid
1254
XLogRecPtrToBytePos
5178
XLogReportParameters
1852
XLogRestorePoint
6
XLogSetAsyncXactLSN
102290
XLogSetReplicationSlotMinimumLSN
66500
XLogShutdownWalRcv
1970
XLogWrite
4317334
assign_checkpoint_completion_target
2340
assign_max_wal_size
11630
assign_wal_consistency_checking
4222
assign_wal_sync_method
2340
check_wal_buffers
4602
check_wal_consistency_checking
4224
check_wal_segment_size
4522
do_pg_abort_backup
16
do_pg_backup_start
338
do_pg_backup_stop
324
get_backup_status
378
get_sync_bit
32748
issue_xlog_fsync
338140
register_persistent_abort_backup_handler
8
show_archive_command
3478
show_effective_wal_level
3540
show_in_hot_standby
31498
str_time
1754
update_checkpoint_display
7092
xlog_redo
88448
Generated by:
LCOV version 1.16