Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
73
Issues
73
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
f1408a7d
Commit
f1408a7d
authored
Feb 03, 2017
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set mmap counter to -1 if disabled
parent
3a244907
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
darshan-runtime/lib/darshan-posix.c
darshan-runtime/lib/darshan-posix.c
+4
-0
No files found.
darshan-runtime/lib/darshan-posix.c
View file @
f1408a7d
...
@@ -1349,6 +1349,10 @@ static struct posix_file_record_ref *posix_track_new_file_record(
...
@@ -1349,6 +1349,10 @@ static struct posix_file_record_ref *posix_track_new_file_record(
file_rec
->
base_rec
.
rank
=
my_rank
;
file_rec
->
base_rec
.
rank
=
my_rank
;
file_rec
->
counters
[
POSIX_MEM_ALIGNMENT
]
=
darshan_mem_alignment
;
file_rec
->
counters
[
POSIX_MEM_ALIGNMENT
]
=
darshan_mem_alignment
;
file_rec
->
counters
[
POSIX_FILE_ALIGNMENT
]
=
fs_info
.
block_size
;
file_rec
->
counters
[
POSIX_FILE_ALIGNMENT
]
=
fs_info
.
block_size
;
#ifndef DARSHAN_WRAP_MMAP
/* set invalid value here if MMAP instrumentation is disabled */
file_rec
->
counters
[
POSIX_MMAPS
]
=
-
1
;
#endif
/* undefined DARSHAN_WRAP_MMAP */
rec_ref
->
fs_type
=
fs_info
.
fs_type
;
rec_ref
->
fs_type
=
fs_info
.
fs_type
;
rec_ref
->
file_rec
=
file_rec
;
rec_ref
->
file_rec
=
file_rec
;
posix_runtime
->
file_rec_count
++
;
posix_runtime
->
file_rec_count
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment