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 08:15:45 Functions: 88 98 89.8 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
AcquireExternalFD 183106
AllocateDir 79644
AllocateFile 150782
AllocateVfd 2428308
AtEOSubXact_Files 20050
AtEOXact_Files 789140
BasicOpenFile 62636
BasicOpenFilePerm 17849878
BeforeShmemExit_Files 37258
CleanupTempFiles 826398
ClosePipeStream 106
CloseTransientFile 15350912
Delete 2287962
FileAccess 4953906
FileClose 992308
FileFallocate 1000
FileGetRawDesc 0
FileGetRawFlags 0
FileGetRawMode 0
FilePathName 42
FilePrefetch 173324
FileReadV 3087806
FileSize 3956916
FileSync 660
FileTruncate 1074
FileWriteV 1301690
FileWriteback 0
FileZero 388324
FreeDesc 15568830
FreeDir 77838
FreeFile 139704
FreeVfd 1750560
GetNextTempTableSpace 4110
GetTempTablespaces 370
InitFileAccess 37258
InitTemporaryFileAccess 37258
Insert 2961016
LruDelete 6676
LruInsert 114
MakePGDirectory 2704
OpenPipeStream 106
OpenTemporaryFile 2902
OpenTemporaryFileInTablespace 2902
OpenTransientFile 15358606
OpenTransientFilePerm 15358618
PathNameCreateTemporaryDir 344
PathNameCreateTemporaryFile 2770
PathNameDeleteTemporaryDir 418
PathNameDeleteTemporaryFile 5554
PathNameOpenFile 2428308
PathNameOpenFilePerm 2428308
PathNameOpenTemporaryFile 7156
ReadDir 3212406
ReadDirExtended 6143022
RegisterTemporaryFile 8634
ReleaseExternalFD 281762
ReleaseLruFile 6416
ReleaseLruFiles 18336436
RemovePgTempFiles 1538
RemovePgTempFilesInDir 1664
RemovePgTempRelationFiles 1662
RemovePgTempRelationFilesInDbspace 5224
ReportTemporaryFileUsage 5328
ResOwnerPrintFile 0
ResOwnerReleaseFile 8
ReserveExternalFD 318864
ResourceOwnerForgetFile 8626
ResourceOwnerRememberFile 8634
SetTempTablespaces 5748
SyncDataDirectory 340
TempTablespacePath 16796
TempTablespacesAreSet 8362
assign_debug_io_direct 1986
check_debug_io_direct 1986
closeAllVfds 58
count_usable_fds 1908
data_sync_elevel 35122
datadir_fsync_fname 0
do_syncfs 0
durable_rename 9832
durable_unlink 1918
fsync_fname 35122
fsync_fname_ext 66458
fsync_parent_path 11672
looks_like_temp_rel_name 2150716
pg_fdatasync 0
pg_file_exists 33192
pg_flush_data 58702
pg_fsync 107742
pg_fsync_no_writethrough 107742
pg_fsync_writethrough 0
pg_ftruncate 1074
pg_truncate 413716
pre_sync_fname 0
reserveAllocatedDesc 15589150
set_max_safe_fds 1908
unlink_if_exists_fname 2686
walkdir 338

Generated by: LCOV version 1.14