Commit 0d7fe693 authored by Shane Snyder's avatar Shane Snyder

finish implementation of darshan logutils

parent 4f5d2339
......@@ -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)
......
......@@ -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_getmod(fd, DARSHAN_HDF5_MOD,
(void *)file, sizeof(*file));
if(ret == 1)
{
......
This diff is collapsed.
......@@ -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 */
......
......@@ -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_getmod(fd, DARSHAN_MPIIO_MOD,
(void *)file, sizeof(*file));
if(ret == 1)
{
......
......@@ -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_getmod(fd, DARSHAN_PNETCDF_MOD,
(void *)file, sizeof(*file));
if(ret == 1)
{
......
......@@ -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_getmod(fd, DARSHAN_POSIX_MOD,
(void *)file, sizeof(*file));
if(ret == 1)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment