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
77
Issues
77
List
Boards
Labels
Milestones
Merge Requests
6
Merge Requests
6
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
0d7fe693
Commit
0d7fe693
authored
Aug 11, 2015
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finish implementation of darshan logutils
parent
4f5d2339
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
355 additions
and
39 deletions
+355
-39
darshan-util/Makefile.in
darshan-util/Makefile.in
+1
-1
darshan-util/darshan-hdf5-logutils.c
darshan-util/darshan-hdf5-logutils.c
+1
-1
darshan-util/darshan-logutils.c
darshan-util/darshan-logutils.c
+340
-32
darshan-util/darshan-logutils.h
darshan-util/darshan-logutils.h
+10
-2
darshan-util/darshan-mpiio-logutils.c
darshan-util/darshan-mpiio-logutils.c
+1
-1
darshan-util/darshan-pnetcdf-logutils.c
darshan-util/darshan-pnetcdf-logutils.c
+1
-1
darshan-util/darshan-posix-logutils.c
darshan-util/darshan-posix-logutils.c
+1
-1
No files found.
darshan-util/Makefile.in
View file @
0d7fe693
...
...
@@ -107,7 +107,7 @@ install:: all
install
-d
$(includedir)
install
-d
$(pkgconfigdir)
install
-m
755 darshan-analyzer
$(bindir)
#
install -m 755 darshan-convert $(bindir)
install
-m
755 darshan-convert
$(bindir)
# install -m 755 darshan-diff $(bindir)
install
-m
755
darshan-parser
$(bindir)
# install -m 755 $(srcdir)/darshan-summary-per-file.sh $(bindir)
...
...
darshan-util/darshan-hdf5-logutils.c
View file @
0d7fe693
...
...
@@ -49,7 +49,7 @@ int darshan_log_get_hdf5_file(darshan_fd fd, void **file_rec,
return
(
-
1
);
memset
(
file
,
0
,
sizeof
(
*
file
));
ret
=
darshan_log_get
_moddat
(
fd
,
DARSHAN_HDF5_MOD
,
ret
=
darshan_log_get
mod
(
fd
,
DARSHAN_HDF5_MOD
,
(
void
*
)
file
,
sizeof
(
*
file
));
if
(
ret
==
1
)
{
...
...
darshan-util/darshan-logutils.c
View file @
0d7fe693
This diff is collapsed.
Click to expand it.
darshan-util/darshan-logutils.h
View file @
0d7fe693
...
...
@@ -60,13 +60,21 @@ extern struct darshan_mod_logutil_funcs *mod_logutils[DARSHAN_MAX_MODS];
darshan_fd
darshan_log_open
(
const
char
*
name
,
const
char
*
mode
);
int
darshan_log_getheader
(
darshan_fd
fd
,
struct
darshan_header
*
header
);
int
darshan_log_putheader
(
darshan_fd
fd
,
struct
darshan_header
*
header
);
int
darshan_log_getjob
(
darshan_fd
fd
,
struct
darshan_job
*
job
);
int
darshan_log_putjob
(
darshan_fd
fd
,
struct
darshan_job
*
job
);
int
darshan_log_getexe
(
darshan_fd
fd
,
char
*
buf
);
int
darshan_log_putexe
(
darshan_fd
fd
,
char
*
buf
);
int
darshan_log_getmounts
(
darshan_fd
fd
,
char
***
mnt_pts
,
char
***
fs_types
,
int
*
count
);
int
darshan_log_putmounts
(
darshan_fd
fd
,
char
**
mnt_pts
,
char
**
fs_types
,
int
count
);
int
darshan_log_gethash
(
darshan_fd
fd
,
struct
darshan_record_ref
**
hash
);
int
darshan_log_get_moddat
(
darshan_fd
fd
,
darshan_module_id
mod_id
,
void
*
moddat_buf
,
int
moddat_buf_sz
);
int
darshan_log_puthash
(
darshan_fd
fd
,
struct
darshan_record_ref
*
hash
);
int
darshan_log_getmod
(
darshan_fd
fd
,
darshan_module_id
mod_id
,
void
*
mod_buf
,
int
mod_buf_sz
);
int
darshan_log_putmod
(
darshan_fd
fd
,
darshan_module_id
mod_id
,
void
*
mod_buf
,
int
mod_buf_sz
);
void
darshan_log_close
(
darshan_fd
file
);
/* convenience macros for printing Darshan counters */
...
...
darshan-util/darshan-mpiio-logutils.c
View file @
0d7fe693
...
...
@@ -49,7 +49,7 @@ int darshan_log_get_mpiio_file(darshan_fd fd, void **file_rec,
return
(
-
1
);
memset
(
file
,
0
,
sizeof
(
*
file
));
ret
=
darshan_log_get
_moddat
(
fd
,
DARSHAN_MPIIO_MOD
,
ret
=
darshan_log_get
mod
(
fd
,
DARSHAN_MPIIO_MOD
,
(
void
*
)
file
,
sizeof
(
*
file
));
if
(
ret
==
1
)
{
...
...
darshan-util/darshan-pnetcdf-logutils.c
View file @
0d7fe693
...
...
@@ -49,7 +49,7 @@ int darshan_log_get_pnetcdf_file(darshan_fd fd, void **file_rec,
return
(
-
1
);
memset
(
file
,
0
,
sizeof
(
*
file
));
ret
=
darshan_log_get
_moddat
(
fd
,
DARSHAN_PNETCDF_MOD
,
ret
=
darshan_log_get
mod
(
fd
,
DARSHAN_PNETCDF_MOD
,
(
void
*
)
file
,
sizeof
(
*
file
));
if
(
ret
==
1
)
{
...
...
darshan-util/darshan-posix-logutils.c
View file @
0d7fe693
...
...
@@ -49,7 +49,7 @@ int darshan_log_get_posix_file(darshan_fd fd, void **file_rec,
return
(
-
1
);
memset
(
file
,
0
,
sizeof
(
*
file
));
ret
=
darshan_log_get
_moddat
(
fd
,
DARSHAN_POSIX_MOD
,
ret
=
darshan_log_get
mod
(
fd
,
DARSHAN_POSIX_MOD
,
(
void
*
)
file
,
sizeof
(
*
file
));
if
(
ret
==
1
)
{
...
...
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