Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shane Snyder
darshan
Commits
1419f48e
Commit
1419f48e
authored
Sep 23, 2016
by
Shane Snyder
Browse files
remove unneeded parameter to log_print_record
parent
a3c693c6
Changes
10
Hide whitespace changes
Inline
Side-by-side
darshan-util/darshan-bgq-logutils.c
View file @
1419f48e
...
...
@@ -37,7 +37,7 @@ char *bgq_f_counter_names[] = {
static
int
darshan_log_get_bgq_rec
(
darshan_fd
fd
,
void
**
bgq_buf_p
);
static
int
darshan_log_put_bgq_rec
(
darshan_fd
fd
,
void
*
bgq_buf
);
static
void
darshan_log_print_bgq_rec
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
);
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
static
void
darshan_log_print_bgq_description
(
int
ver
);
static
void
darshan_log_print_bgq_rec_diff
(
void
*
file_rec1
,
char
*
file_name1
,
void
*
file_rec2
,
char
*
file_name2
);
...
...
@@ -150,7 +150,7 @@ static int darshan_log_put_bgq_rec(darshan_fd fd, void* bgq_buf)
}
static
void
darshan_log_print_bgq_rec
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
)
char
*
mnt_pt
,
char
*
fs_type
)
{
int
i
;
struct
darshan_bgq_record
*
bgq_file_rec
=
...
...
darshan-util/darshan-hdf5-logutils.c
View file @
1419f48e
...
...
@@ -33,7 +33,7 @@ char *hdf5_f_counter_names[] = {
static
int
darshan_log_get_hdf5_file
(
darshan_fd
fd
,
void
**
hdf5_buf_p
);
static
int
darshan_log_put_hdf5_file
(
darshan_fd
fd
,
void
*
hdf5_buf
);
static
void
darshan_log_print_hdf5_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
);
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
static
void
darshan_log_print_hdf5_description
(
int
ver
);
static
void
darshan_log_print_hdf5_file_diff
(
void
*
file_rec1
,
char
*
file_name1
,
void
*
file_rec2
,
char
*
file_name2
);
...
...
@@ -111,7 +111,7 @@ static int darshan_log_put_hdf5_file(darshan_fd fd, void* hdf5_buf)
}
static
void
darshan_log_print_hdf5_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
)
char
*
mnt_pt
,
char
*
fs_type
)
{
int
i
;
struct
darshan_hdf5_file
*
hdf5_file_rec
=
...
...
darshan-util/darshan-logutils.h
View file @
1419f48e
...
...
@@ -30,7 +30,8 @@ struct darshan_fd_s
/* log file version */
char
version
[
8
];
/* flag indicating whether byte swapping needs to be
* performed on log file data */
* performed on log file data
*/
int
swap_flag
;
/* flag indicating whether a log file contains partial data */
int
partial_flag
;
...
...
@@ -90,21 +91,19 @@ struct darshan_mod_logutil_funcs
* - 'file_name' is the file path string for the record
* - 'mnt-pt' is the file path mount point string
* - 'fs_type' is the file system type string
* - 'ver' is the version of the record
*/
void
(
*
log_print_record
)(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
char
*
fs_type
);
/* print module-specific description of I/O characterization data
* - 'ver' is the version of the record
*/
void
(
*
log_print_description
)(
int
ver
);
/* print a text diff of 2 module
I/O
records */
/* print a text diff of 2 module records */
void
(
*
log_print_diff
)(
void
*
rec1
,
char
*
name1
,
...
...
darshan-util/darshan-lustre-logutils.c
View file @
1419f48e
...
...
@@ -27,7 +27,7 @@ char *lustre_counter_names[] = {
static
int
darshan_log_get_lustre_record
(
darshan_fd
fd
,
void
**
lustre_buf_p
);
static
int
darshan_log_put_lustre_record
(
darshan_fd
fd
,
void
*
lustre_buf
);
static
void
darshan_log_print_lustre_record
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
);
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
static
void
darshan_log_print_lustre_description
(
int
ver
);
static
void
darshan_log_print_lustre_record_diff
(
void
*
rec1
,
char
*
file_name1
,
void
*
rec2
,
char
*
file_name2
);
...
...
@@ -128,7 +128,7 @@ static int darshan_log_put_lustre_record(darshan_fd fd, void* lustre_buf)
}
static
void
darshan_log_print_lustre_record
(
void
*
rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
)
char
*
mnt_pt
,
char
*
fs_type
)
{
int
i
;
struct
darshan_lustre_record
*
lustre_rec
=
...
...
darshan-util/darshan-mpiio-logutils.c
View file @
1419f48e
...
...
@@ -33,7 +33,7 @@ char *mpiio_f_counter_names[] = {
static
int
darshan_log_get_mpiio_file
(
darshan_fd
fd
,
void
**
mpiio_buf_p
);
static
int
darshan_log_put_mpiio_file
(
darshan_fd
fd
,
void
*
mpiio_buf
);
static
void
darshan_log_print_mpiio_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
);
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
static
void
darshan_log_print_mpiio_description
(
int
ver
);
static
void
darshan_log_print_mpiio_file_diff
(
void
*
file_rec1
,
char
*
file_name1
,
void
*
file_rec2
,
char
*
file_name2
);
...
...
@@ -111,7 +111,7 @@ static int darshan_log_put_mpiio_file(darshan_fd fd, void* mpiio_buf)
}
static
void
darshan_log_print_mpiio_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
)
char
*
mnt_pt
,
char
*
fs_type
)
{
int
i
;
struct
darshan_mpiio_file
*
mpiio_file_rec
=
...
...
darshan-util/darshan-null-logutils.c
View file @
1419f48e
...
...
@@ -35,7 +35,7 @@ char *null_f_counter_names[] = {
static
int
darshan_log_get_null_record
(
darshan_fd
fd
,
void
**
null_buf_p
);
static
int
darshan_log_put_null_record
(
darshan_fd
fd
,
void
*
null_buf
);
static
void
darshan_log_print_null_record
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
);
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
static
void
darshan_log_print_null_description
(
int
ver
);
static
void
darshan_log_print_null_record_diff
(
void
*
file_rec1
,
char
*
file_name1
,
void
*
file_rec2
,
char
*
file_name2
);
...
...
@@ -127,7 +127,7 @@ static int darshan_log_put_null_record(darshan_fd fd, void* null_buf)
/* print all I/O data record statistics for the given NULL record */
static
void
darshan_log_print_null_record
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
)
char
*
mnt_pt
,
char
*
fs_type
)
{
int
i
;
struct
darshan_null_record
*
null_rec
=
...
...
darshan-util/darshan-parser.c
View file @
1419f48e
...
...
@@ -477,7 +477,7 @@ int main(int argc, char **argv)
{
/* print the corresponding module data for this record */
mod_logutils
[
i
]
->
log_print_record
(
mod_buf
,
rec_name
,
mnt_pt
,
fs_type
,
fd
->
mod_ver
[
i
]
);
mnt_pt
,
fs_type
);
}
/* we calculate more detailed stats for POSIX, MPI-IO, and STDIO modules,
...
...
darshan-util/darshan-pnetcdf-logutils.c
View file @
1419f48e
...
...
@@ -33,7 +33,7 @@ char *pnetcdf_f_counter_names[] = {
static
int
darshan_log_get_pnetcdf_file
(
darshan_fd
fd
,
void
**
pnetcdf_buf_p
);
static
int
darshan_log_put_pnetcdf_file
(
darshan_fd
fd
,
void
*
pnetcdf_buf
);
static
void
darshan_log_print_pnetcdf_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
);
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
static
void
darshan_log_print_pnetcdf_description
(
int
ver
);
static
void
darshan_log_print_pnetcdf_file_diff
(
void
*
file_rec1
,
char
*
file_name1
,
void
*
file_rec2
,
char
*
file_name2
);
...
...
@@ -111,7 +111,7 @@ static int darshan_log_put_pnetcdf_file(darshan_fd fd, void* pnetcdf_buf)
}
static
void
darshan_log_print_pnetcdf_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
)
char
*
mnt_pt
,
char
*
fs_type
)
{
int
i
;
struct
darshan_pnetcdf_file
*
pnetcdf_file_rec
=
...
...
darshan-util/darshan-posix-logutils.c
View file @
1419f48e
...
...
@@ -36,7 +36,7 @@ char *posix_f_counter_names[] = {
static
int
darshan_log_get_posix_file
(
darshan_fd
fd
,
void
**
posix_buf_p
);
static
int
darshan_log_put_posix_file
(
darshan_fd
fd
,
void
*
posix_buf
);
static
void
darshan_log_print_posix_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
);
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
static
void
darshan_log_print_posix_description
(
int
ver
);
static
void
darshan_log_print_posix_file_diff
(
void
*
file_rec1
,
char
*
file_name1
,
void
*
file_rec2
,
char
*
file_name2
);
...
...
@@ -174,7 +174,7 @@ static int darshan_log_put_posix_file(darshan_fd fd, void* posix_buf)
}
static
void
darshan_log_print_posix_file
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
)
char
*
mnt_pt
,
char
*
fs_type
)
{
int
i
;
struct
darshan_posix_file
*
posix_file_rec
=
...
...
darshan-util/darshan-stdio-logutils.c
View file @
1419f48e
...
...
@@ -35,7 +35,7 @@ char *stdio_f_counter_names[] = {
static
int
darshan_log_get_stdio_record
(
darshan_fd
fd
,
void
**
stdio_buf_p
);
static
int
darshan_log_put_stdio_record
(
darshan_fd
fd
,
void
*
stdio_buf
);
static
void
darshan_log_print_stdio_record
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
);
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
);
static
void
darshan_log_print_stdio_description
(
int
ver
);
static
void
darshan_log_print_stdio_record_diff
(
void
*
file_rec1
,
char
*
file_name1
,
void
*
file_rec2
,
char
*
file_name2
);
...
...
@@ -127,7 +127,7 @@ static int darshan_log_put_stdio_record(darshan_fd fd, void* stdio_buf)
/* print all I/O data record statistics for the given STDIO record */
static
void
darshan_log_print_stdio_record
(
void
*
file_rec
,
char
*
file_name
,
char
*
mnt_pt
,
char
*
fs_type
,
int
ver
)
char
*
mnt_pt
,
char
*
fs_type
)
{
int
i
;
struct
darshan_stdio_file
*
stdio_rec
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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