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-18 05:15:39 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 10
FilePathName 42
closeAllVfds 58
LruInsert 90
ClosePipeStream 106
OpenPipeStream 106
walkdir 338
SyncDataDirectory 340
PathNameCreateTemporaryDir 350
GetTempTablespaces 370
PathNameDeleteTemporaryDir 418
FileFallocate 990
FileTruncate 1064
pg_ftruncate 1064
RemovePgTempFiles 1538
RemovePgTempRelationFiles 1662
RemovePgTempFilesInDir 1664
FileSync 1830
count_usable_fds 1908
set_max_safe_fds 1908
assign_debug_io_direct 1986
check_debug_io_direct 1986
durable_unlink 2010
MakePGDirectory 2710
unlink_if_exists_fname 2864
PathNameCreateTemporaryFile 2954
OpenTemporaryFile 3314
OpenTemporaryFileInTablespace 3314
GetNextTempTableSpace 4110
RemovePgTempRelationFilesInDbspace 5222
SetTempTablespaces 5764
PathNameDeleteTemporaryFile 5910
ReportTemporaryFileUsage 5918
ReleaseLruFile 6394
LruDelete 6644
PathNameOpenTemporaryFile 7532
TempTablespacesAreSet 8790
ResourceOwnerForgetFile 9402
RegisterTemporaryFile 9412
ResourceOwnerRememberFile 9412
durable_rename 9784
fsync_parent_path 11716
TempTablespacePath 17952
AtEOSubXact_Files 20014
pg_file_exists 33164
data_sync_elevel 35156
fsync_fname 35156
BeforeShmemExit_Files 37274
InitFileAccess 37274
InitTemporaryFileAccess 37274
pg_flush_data 58702
fsync_fname_ext 66440
FreeDir 77930
AllocateDir 79738
BasicOpenFile 82578
pg_fsync 108940
pg_fsync_no_writethrough 108940
FreeFile 139762
AllocateFile 150808
FilePrefetch 173566
AcquireExternalFD 186688
ReleaseExternalFD 285502
ReserveExternalFD 322590
FileZero 388734
pg_truncate 412032
AtEOXact_Files 789306
CleanupTempFiles 826580
FileClose 992480
FileWriteV 1302552
FreeVfd 1749538
looks_like_temp_rel_name 2153498
Delete 2291114
AllocateVfd 2428284
PathNameOpenFile 2428284
PathNameOpenFilePerm 2428284
Insert 2965154
FileReadV 3083336
ReadDir 3228374
FileSize 3951054
FileAccess 4952104
ReadDirExtended 6158686
CloseTransientFile 15353706
OpenTransientFile 15361402
OpenTransientFilePerm 15361414
FreeDesc 15571776
reserveAllocatedDesc 15592066
BasicOpenFilePerm 17872568
ReleaseLruFiles 18343030

Generated by: LCOV version 1.14