LCOV - code coverage report
Current view:
top level
-
src/backend/storage/file
- fd.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 18devel
Lines:
706
994
71.0 %
Date:
2025-04-03 18:15:34
Functions:
90
99
90.9 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
AcquireExternalFD
233040
AllocateDir
83536
AllocateFile
164648
AllocateVfd
2734272
AtEOSubXact_Files
19964
AtEOXact_Files
852626
BasicOpenFile
68960
BasicOpenFilePerm
18203736
BeforeShmemExit_Files
42786
CleanupTempFiles
895412
ClosePipeStream
112
CloseTransientFile
15392014
Delete
2557256
FileAccess
6034240
FileClose
1075808
FileFallocate
1346
FileGetRawDesc
965248
FileGetRawFlags
0
FileGetRawMode
0
FilePathName
44
FilePrefetch
16876
FileReadV
784730
FileSize
4435378
FileStartReadV
2452038
FileSync
386
FileTruncate
1100
FileWriteV
1390510
FileWriteback
0
FileZero
421974
FreeDesc
15626304
FreeDir
81612
FreeFile
152290
FreeVfd
1904764
GetNextTempTableSpace
4168
GetTempTablespaces
370
InitFileAccess
42786
InitTemporaryFileAccess
42786
Insert
3382090
LruDelete
6782
LruInsert
116
MakePGDirectory
2828
OpenPipeStream
112
OpenTemporaryFile
2070
OpenTemporaryFileInTablespace
2070
OpenTransientFile
15400164
OpenTransientFilePerm
15400176
PathNameCreateTemporaryDir
350
PathNameCreateTemporaryFile
2098
PathNameDeleteTemporaryDir
418
PathNameDeleteTemporaryFile
4200
PathNameOpenFile
2734272
PathNameOpenFilePerm
2734272
PathNameOpenTemporaryFile
5818
ReadDir
3383590
ReadDirExtended
6469366
RegisterTemporaryFile
6454
ReleaseExternalFD
341996
ReleaseLruFile
6512
ReleaseLruFiles
18764398
RemovePgTempFiles
1660
RemovePgTempFilesInDir
1782
RemovePgTempRelationFiles
1780
RemovePgTempRelationFilesInDbspace
5646
ReportTemporaryFileUsage
3818
ResOwnerPrintFile
0
ResOwnerReleaseFile
8
ReserveExternalFD
381538
ResourceOwnerForgetFile
6446
ResourceOwnerRememberFile
6454
SetTempTablespaces
5964
SyncDataDirectory
342
TempTablespacePath
13284
TempTablespacesAreSet
7594
assign_debug_io_direct
2136
check_debug_io_direct
2136
closeAllVfds
60
count_usable_fds
2054
data_sync_elevel
36592
datadir_fsync_fname
0
do_syncfs
0
durable_rename
10396
durable_unlink
1930
fsync_fname
36592
fsync_fname_ext
69634
fsync_parent_path
12250
looks_like_temp_rel_name
2292548
pg_fdatasync
0
pg_file_exists
36404
pg_flush_data
68622
pg_fsync
113108
pg_fsync_no_writethrough
113108
pg_fsync_writethrough
0
pg_ftruncate
1100
pg_truncate
433032
pre_sync_fname
0
reserveAllocatedDesc
15648472
set_max_safe_fds
2054
unlink_if_exists_fname
2008
walkdir
338
Generated by:
LCOV version 1.14