LCOV - code coverage report
Current view: top level - src/backend/storage/file - fd.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 692 978 70.8 %
Date: 2025-01-31 21:16:08 Functions: 88 98 89.8 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
FileGetRawDesc 0
FileGetRawFlags 0
FileGetRawMode 0
FileWriteback 0
ResOwnerPrintFile 0
datadir_fsync_fname 0
do_syncfs 0
pg_fdatasync 0
pg_fsync_writethrough 0
pre_sync_fname 0
ResOwnerReleaseFile 8
FilePathName 42
closeAllVfds 58
LruInsert 90
ClosePipeStream 106
OpenPipeStream 106
walkdir 338
SyncDataDirectory 342
PathNameCreateTemporaryDir 352
GetTempTablespaces 370
PathNameDeleteTemporaryDir 418
FileFallocate 1004
FileTruncate 1012
pg_ftruncate 1012
RemovePgTempFiles 1544
RemovePgTempRelationFiles 1664
RemovePgTempFilesInDir 1666
count_usable_fds 1914
set_max_safe_fds 1914
assign_debug_io_direct 1994
check_debug_io_direct 1994
durable_unlink 2026
unlink_if_exists_fname 2570
PathNameCreateTemporaryFile 2662
MakePGDirectory 2714
OpenTemporaryFile 2884
OpenTemporaryFileInTablespace 2884
FileSync 3880
GetNextTempTableSpace 4110
ReportTemporaryFileUsage 5194
RemovePgTempRelationFilesInDbspace 5236
PathNameDeleteTemporaryFile 5324
SetTempTablespaces 5748
ReleaseLruFile 6404
LruDelete 6666
PathNameOpenTemporaryFile 6938
TempTablespacesAreSet 8336
ResourceOwnerForgetFile 8382
RegisterTemporaryFile 8390
ResourceOwnerRememberFile 8390
durable_rename 9806
fsync_parent_path 11756
TempTablespacePath 16346
AtEOSubXact_Files 19988
pg_file_exists 33712
BeforeShmemExit_Files 34750
InitFileAccess 34750
InitTemporaryFileAccess 34750
data_sync_elevel 35070
fsync_fname 35070
pg_flush_data 58702
fsync_fname_ext 66438
BasicOpenFile 71778
FreeDir 78560
AllocateDir 80366
pg_fsync 111118
pg_fsync_no_writethrough 111118
FreeFile 132250
AllocateFile 143420
FilePrefetch 172692
AcquireExternalFD 178752
ReleaseExternalFD 272508
ReserveExternalFD 306842
FileZero 389252
pg_truncate 413282
AtEOXact_Files 849390
CleanupTempFiles 884140
FileClose 993318
FileWriteV 1300066
FreeVfd 1771854
looks_like_temp_rel_name 2153200
Delete 2284680
AllocateVfd 2496634
PathNameOpenFile 2496634
PathNameOpenFilePerm 2496634
Insert 3004762
FileReadV 3056044
ReadDir 3636502
FileSize 4019302
FileAccess 4923986
ReadDirExtended 6573368
CloseTransientFile 15347596
OpenTransientFile 15355298
OpenTransientFilePerm 15355310
FreeDesc 15558780
reserveAllocatedDesc 15579202
BasicOpenFilePerm 17924016
ReleaseLruFiles 18382768

Generated by: LCOV version 1.14