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
72
Issues
72
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
e5bfa490
Commit
e5bfa490
authored
Aug 19, 2015
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slight api change for retrieving mod records
parent
a94832b3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
22 deletions
+22
-22
darshan-util/darshan-hdf5-logutils.c
darshan-util/darshan-hdf5-logutils.c
+5
-5
darshan-util/darshan-logutils.h
darshan-util/darshan-logutils.h
+2
-2
darshan-util/darshan-mpiio-logutils.c
darshan-util/darshan-mpiio-logutils.c
+5
-5
darshan-util/darshan-pnetcdf-logutils.c
darshan-util/darshan-pnetcdf-logutils.c
+5
-5
darshan-util/darshan-posix-logutils.c
darshan-util/darshan-posix-logutils.c
+5
-5
No files found.
darshan-util/darshan-hdf5-logutils.c
View file @
e5bfa490
...
...
@@ -30,8 +30,8 @@ char *hdf5_f_counter_names[] = {
};
#undef X
static
int
darshan_log_get_hdf5_file
(
darshan_fd
fd
,
void
**
hdf5_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
);
static
int
darshan_log_get_hdf5_file
(
void
**
hdf5_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
,
int
byte_swap_flag
);
static
void
darshan_log_print_hdf5_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
...
...
@@ -41,8 +41,8 @@ struct darshan_mod_logutil_funcs hdf5_logutils =
.
log_print_record
=
&
darshan_log_print_hdf5_file
,
};
static
int
darshan_log_get_hdf5_file
(
darshan_fd
fd
,
void
**
hdf5_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
)
static
int
darshan_log_get_hdf5_file
(
void
**
hdf5_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
,
int
byte_swap_flag
)
{
int
i
;
struct
darshan_hdf5_file
*
file
=
(
struct
darshan_hdf5_file
*
)
...
...
@@ -51,7 +51,7 @@ static int darshan_log_get_hdf5_file(darshan_fd fd, void** hdf5_buf_p,
if
(
*
bytes_left
<
sizeof
(
struct
darshan_hdf5_file
))
return
(
-
1
);
if
(
fd
->
swap_flag
)
if
(
byte_
swap_flag
)
{
/* swap bytes if necessary */
DARSHAN_BSWAP64
(
&
file
->
f_id
);
...
...
darshan-util/darshan-logutils.h
View file @
e5bfa490
...
...
@@ -46,11 +46,11 @@ struct darshan_record_ref
struct
darshan_mod_logutil_funcs
{
int
(
*
log_get_record
)(
darshan_fd
fd
,
void
**
mod_buf_p
,
int
*
mod_bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
darshan_record_id
*
rec_id
,
int
byte_swap_flag
);
void
(
*
log_print_record
)(
void
*
file_rec
,
...
...
darshan-util/darshan-mpiio-logutils.c
View file @
e5bfa490
...
...
@@ -30,8 +30,8 @@ char *mpiio_f_counter_names[] = {
};
#undef X
static
int
darshan_log_get_mpiio_file
(
darshan_fd
fd
,
void
**
mpiio_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
);
static
int
darshan_log_get_mpiio_file
(
void
**
mpiio_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
,
int
byte_swap_flag
);
static
void
darshan_log_print_mpiio_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
...
...
@@ -41,8 +41,8 @@ struct darshan_mod_logutil_funcs mpiio_logutils =
.
log_print_record
=
&
darshan_log_print_mpiio_file
,
};
static
int
darshan_log_get_mpiio_file
(
darshan_fd
fd
,
void
**
mpiio_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
)
static
int
darshan_log_get_mpiio_file
(
void
**
mpiio_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
,
int
byte_swap_flag
)
{
int
i
;
struct
darshan_mpiio_file
*
file
=
(
struct
darshan_mpiio_file
*
)
...
...
@@ -51,7 +51,7 @@ static int darshan_log_get_mpiio_file(darshan_fd fd, void** mpiio_buf_p,
if
(
*
bytes_left
<
sizeof
(
struct
darshan_mpiio_file
))
return
(
-
1
);
if
(
fd
->
swap_flag
)
if
(
byte_
swap_flag
)
{
/* swap bytes if necessary */
DARSHAN_BSWAP64
(
&
file
->
f_id
);
...
...
darshan-util/darshan-pnetcdf-logutils.c
View file @
e5bfa490
...
...
@@ -30,8 +30,8 @@ char *pnetcdf_f_counter_names[] = {
};
#undef X
static
int
darshan_log_get_pnetcdf_file
(
darshan_fd
fd
,
void
**
pnetcdf_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
);
static
int
darshan_log_get_pnetcdf_file
(
void
**
pnetcdf_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
,
int
byte_swap_flag
);
static
void
darshan_log_print_pnetcdf_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
...
...
@@ -41,8 +41,8 @@ struct darshan_mod_logutil_funcs pnetcdf_logutils =
.
log_print_record
=
&
darshan_log_print_pnetcdf_file
,
};
static
int
darshan_log_get_pnetcdf_file
(
darshan_fd
fd
,
void
**
pnetcdf_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
)
static
int
darshan_log_get_pnetcdf_file
(
void
**
pnetcdf_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
,
int
byte_swap_flag
)
{
int
i
;
struct
darshan_pnetcdf_file
*
file
=
(
struct
darshan_pnetcdf_file
*
)
...
...
@@ -51,7 +51,7 @@ static int darshan_log_get_pnetcdf_file(darshan_fd fd, void** pnetcdf_buf_p,
if
(
*
bytes_left
<
sizeof
(
struct
darshan_pnetcdf_file
))
return
(
-
1
);
if
(
fd
->
swap_flag
)
if
(
byte_
swap_flag
)
{
/* swap bytes if necessary */
DARSHAN_BSWAP64
(
&
file
->
f_id
);
...
...
darshan-util/darshan-posix-logutils.c
View file @
e5bfa490
...
...
@@ -30,8 +30,8 @@ char *posix_f_counter_names[] = {
};
#undef X
static
int
darshan_log_get_posix_file
(
darshan_fd
fd
,
void
**
psx_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
);
static
int
darshan_log_get_posix_file
(
void
**
psx_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
,
int
byte_swap_flag
);
static
void
darshan_log_print_posix_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
...
...
@@ -41,8 +41,8 @@ struct darshan_mod_logutil_funcs posix_logutils =
.
log_print_record
=
&
darshan_log_print_posix_file
,
};
static
int
darshan_log_get_posix_file
(
darshan_fd
fd
,
void
**
psx_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
)
static
int
darshan_log_get_posix_file
(
void
**
psx_buf_p
,
int
*
bytes_left
,
void
**
file_rec
,
darshan_record_id
*
rec_id
,
int
byte_swap_flag
)
{
int
i
;
struct
darshan_posix_file
*
file
=
(
struct
darshan_posix_file
*
)
...
...
@@ -51,7 +51,7 @@ static int darshan_log_get_posix_file(darshan_fd fd, void** psx_buf_p,
if
(
*
bytes_left
<
sizeof
(
struct
darshan_posix_file
))
return
(
-
1
);
if
(
fd
->
swap_flag
)
if
(
byte_
swap_flag
)
{
/* swap bytes if necessary */
DARSHAN_BSWAP64
(
&
file
->
f_id
);
...
...
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