LCOV - code coverage report
Current view:
top level
-
src/backend/access/transam
- xlog.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 18devel
Lines:
2172
2463
88.2 %
Date:
2025-02-22 16:15:16
Functions:
119
122
97.5 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
GetLastSegSwitchData
0
GetWALInsertionTimeLineIfSet
0
IsInstallXLogFileSegmentActive
0
GetMockAuthenticationNonce
2
SwitchIntoArchiveRecovery
4
GetDefaultCharSignedness
6
XLogRestorePoint
6
XLogGetOldestSegno
10
register_persistent_abort_backup_handler
10
do_pg_abort_backup
18
CreateOverwriteContrecordRecord
22
XLogFileOpen
56
GetFakeLSNForUnloggedRel
66
XLogFileCopy
76
CreateEndOfRecoveryRecord
84
BootStrapXLOG
90
InitControlFile
90
WriteControlFile
90
CleanupAfterArchiveRecovery
98
XLogInitNewTimeline
98
GetRecoveryState
114
RemoveNonParentXlogFiles
120
GetOldestRestartPoint
128
GetActiveWalLevelOnStandby
132
ReachedEndOfBackup
138
CleanupBackupHistory
292
PerformRecoveryXLogAction
306
do_pg_backup_stop
306
do_pg_backup_start
320
RemoveTempXlogFiles
342
get_backup_status
362
CheckRequiredParameterValues
472
CreateRestartPoint
522
RequestXLogSwitch
742
ReserveXLogSwitch
742
RecoveryRestartPoint
754
SetWalWriterSleeping
826
GetWALAvailability
850
XLogPutNextOid
1092
ShutdownXLOG
1102
str_time
1488
XLogReportParameters
1562
LocalSetXLogInsertAllowed
1620
InitializeWalConsistencyChecking
1664
StartupXLOG
1668
ValidateXLOGDirectoryStructure
1668
LocalProcessControlFile
1684
ReadControlFile
1774
XLogShutdownWalRcv
1870
XLOGChooseNumBuffers
1934
XLOGShmemInit
1938
SetInstallXLogFileSegmentActive
1958
LogCheckpointStart
1974
XLogGetLastRemovedSegno
1976
assign_checkpoint_completion_target
2004
assign_wal_sync_method
2004
CreateCheckPoint
2130
GetLastImportantRecPtr
2182
check_max_slot_wal_keep_size
2222
CheckPointGuts
2498
LogCheckpointEnd
2498
RemoveOldXlogFiles
2498
UpdateCheckPointDistanceEstimate
2498
XLOGfileslop
2498
UpdateFullPageWrites
2574
GetSystemIdentifier
2638
GetXLogWriteRecPtr
2670
PreallocXlogFiles
3000
KeepLogSeg
3330
XLogGetReplicationSlotMinimumLSN
3330
show_archive_command
3422
XLogRecPtrToBytePos
3750
assign_wal_consistency_checking
3778
check_wal_consistency_checking
3780
UpdateLastRemovedPtr
3830
RemoveXlogFile
3862
check_wal_segment_size
3870
check_wal_buffers
3938
GetXLogInsertRecPtr
3960
InstallXLogFileSegment
4756
update_checkpoint_display
4996
XLOGShmemSize
5544
WALInsertLockAcquireExclusive
6234
XLogCheckpointNeeded
8032
XLogFileClose
9584
assign_max_wal_size
10038
GetInsertRecPtr
11792
CalculateCheckpointSegments
13816
UpdateControlFile
16204
XLogBackgroundFlush
19416
XLogFileInit
24188
XLogFileInitInternal
24664
get_sync_bit
26964
XLogSetReplicationSlotMinimumLSN
27398
show_in_hot_standby
29850
xlog_redo
79476
XLogSetAsyncXactLSN
89544
UpdateMinRecoveryPoint
187922
WALReadFromBuffers
190180
GetWALInsertionTimeLine
211424
CheckXLogRemoved
226436
issue_xlog_fsync
272344
GetFlushRecPtr
362304
GetRedoRecPtr
577724
XLogFlush
1219084
XLogWrite
3762096
WaitXLogInsertionsToFinish
4403142
WALInsertLockUpdateInsertingAt
4792572
AdvanceXLInsertBuffer
4799796
XLogNeedsFlush
17205814
DataChecksumsEnabled
22895252
ReserveXLogInsertLocation
27931026
CopyXLogRecordToWAL
27931652
WALInsertLockAcquire
27943926
XLogInsertRecord
27945716
WALInsertLockRelease
27950160
GetFullPageWriteInfo
28216570
XLogBytePosToEndRecPtr
28709092
GetXLogBuffer
32280746
XLogBytePosToRecPtr
55868324
XLogInsertAllowed
58216438
RecoveryInProgress
168116652
Generated by:
LCOV version 1.14