LCOV - code coverage report
Current view: top level - src/backend/storage/file - fd.c (source / functions) Hit Total Coverage
Test: PostgreSQL 15devel Lines: 671 897 74.8 %
Date: 2021-10-17 03:07:09 Functions: 85 90 94.4 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
FileGetRawDesc 0
FileGetRawFlags 0
FileGetRawMode 0
do_syncfs 0
pg_fsync_writethrough 0
closeAllVfds 34
FilePathName 52
pg_fdatasync 68
durable_unlink 186
PathNameCreateTemporaryDir 218
GetTempTablespaces 222
SyncDataDirectory 232
PathNameDeleteTemporaryDir 254
walkdir 322
ClosePipeStream 472
OpenPipeStream 472
FileTruncate 572
count_usable_fds 914
set_max_safe_fds 914
RemovePgTempFiles 920
RemovePgTempRelationFiles 994
RemovePgTempFilesInDir 996
unlink_if_exists_fname 1522
PathNameCreateTemporaryFile 1582
durable_rename_excl 1860
OpenTemporaryFile 1870
OpenTemporaryFileInTablespace 1870
datadir_fsync_fname 1946
pre_sync_fname 1946
MakePGDirectory 2210
GetNextTempTableSpace 2390
RemovePgTempRelationFilesInDbspace 3038
ReportTemporaryFileUsage 3234
PathNameDeleteTemporaryFile 3334
durable_rename 4190
PathNameOpenTemporaryFile 4748
SetTempTablespaces 5072
TempTablespacesAreSet 5122
RegisterTemporaryFile 5342
fsync_parent_path 6184
TempTablespacePath 10698
AtEOSubXact_Files 11562
BeforeShmemExit_Files 18028
InitFileAccess 18028
InitTemporaryFileAccess 18028
data_sync_elevel 26008
fsync_fname 26008
BasicOpenFile 41930
fsync_fname_ext 46242
pg_pwritev_with_retry 47816
FreeDir 62638
AllocateDir 63574
FileSync 88878
FreeFile 100722
AllocateFile 112266
ReleaseExternalFD 114208
AcquireExternalFD 118212
FileWriteback 152696
LruInsert 153126
pg_fsync 164220
pg_fsync_no_writethrough 164220
ReserveExternalFD 169610
pg_truncate 211564
FilePrefetch 280102
ReleaseLruFile 381218
LruDelete 381254
pg_flush_data 448624
AtEOXact_Files 700036
CleanupTempFiles 718064
CloseTransientFile 972546
OpenTransientFile 973722
OpenTransientFilePerm 973726
FreeDesc 1136406
reserveAllocatedDesc 1150038
FileClose 1156562
looks_like_temp_rel_name 1177424
FileWrite 1478664
FreeVfd 1555632
ReadDir 1598580
FileRead 1859332
AllocateVfd 1917398
PathNameOpenFile 1917398
PathNameOpenFilePerm 1917398
Delete 1956514
Insert 2229370
ReadDirExtended 2902816
BasicOpenFilePerm 3086296
ReleaseLruFiles 3390172
FileAccess 3976260
FileSize 4296234

Generated by: LCOV version 1.13