Commit 1d3113d4 authored by Philip Carns's avatar Philip Carns

updated analyzer utility to use logutils api


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@124 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 7155d95c
......@@ -36,8 +36,8 @@ mktestdir::
darshan-parser: darshan-parser.c darshan.h darshan-log-format.h darshan-logutils.o
gcc $(CFLAGS) -lz $< darshan-logutils.o -o $@
darshan-analyzer: darshan-analyzer.c darshan.h darshan-log-format.h
gcc $(CFLAGS) -lz $< -o $@
darshan-analyzer: darshan-analyzer.c darshan.h darshan-log-format.h darshan-logutils.o
gcc $(CFLAGS) -lz $< darshan-logutils.o -o $@
darshan-log-params: darshan-log-params.c darshan-log-format.h
gcc $(CFLAGS) -lz $< -o $@
......
This diff is collapsed.
......@@ -201,7 +201,7 @@ struct darshan_file_1_21
static void shift_missing_1_21(struct darshan_file* file);
/* a rather crude API for accessing raw binary darshan files */
darshan_fd darshan_log_open(char *name)
darshan_fd darshan_log_open(const char *name)
{
return gzopen(name, "r");
}
......@@ -319,6 +319,7 @@ int darshan_log_getexe(darshan_fd fd, char *buf, int *flag)
perror("gzread");
return(-1);
}
*flag = 0;
return (0);
}
......
......@@ -12,7 +12,7 @@ typedef gzFile darshan_fd;
extern char *darshan_names[];
extern char *darshan_f_names[];
darshan_fd darshan_log_open(char *name);
darshan_fd darshan_log_open(const char *name);
int darshan_log_getjob(darshan_fd file, struct darshan_job *job);
int darshan_log_getfile(darshan_fd fd,
struct darshan_job* job,
......
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