Commit d5abad0f authored by Shane Snyder's avatar Shane Snyder
Browse files

remove profiling macros from posix module

parent ac6c6442
...@@ -340,15 +340,6 @@ static void posix_shutdown(void); ...@@ -340,15 +340,6 @@ static void posix_shutdown(void);
(__file)->file_record->counters[POSIX_STATS] += 1; \ (__file)->file_record->counters[POSIX_STATS] += 1; \
} while(0) } while(0)
static double psx_wrap_time = 0.0;
#define PSX_PRE_WRAP() \
double pre_wrap = darshan_core_wtime();
#define PSX_POST_WRAP() \
double post_wrap = darshan_core_wtime(); \
psx_wrap_time += (post_wrap-pre_wrap);
/********************************************************** /**********************************************************
* Wrappers for POSIX I/O functions of interest * * Wrappers for POSIX I/O functions of interest *
...@@ -360,8 +351,6 @@ int DARSHAN_DECL(open)(const char *path, int flags, ...) ...@@ -360,8 +351,6 @@ int DARSHAN_DECL(open)(const char *path, int flags, ...)
int ret; int ret;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(open); MAP_OR_FAIL(open);
if(flags & O_CREAT) if(flags & O_CREAT)
...@@ -387,8 +376,6 @@ int DARSHAN_DECL(open)(const char *path, int flags, ...) ...@@ -387,8 +376,6 @@ int DARSHAN_DECL(open)(const char *path, int flags, ...)
POSIX_RECORD_OPEN(ret, path, mode, 0, tm1, tm2); POSIX_RECORD_OPEN(ret, path, mode, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -398,8 +385,6 @@ int DARSHAN_DECL(open64)(const char *path, int flags, ...) ...@@ -398,8 +385,6 @@ int DARSHAN_DECL(open64)(const char *path, int flags, ...)
int ret; int ret;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(open64); MAP_OR_FAIL(open64);
if(flags & O_CREAT) if(flags & O_CREAT)
...@@ -425,8 +410,6 @@ int DARSHAN_DECL(open64)(const char *path, int flags, ...) ...@@ -425,8 +410,6 @@ int DARSHAN_DECL(open64)(const char *path, int flags, ...)
POSIX_RECORD_OPEN(ret, path, mode, 0, tm1, tm2); POSIX_RECORD_OPEN(ret, path, mode, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -435,8 +418,6 @@ int DARSHAN_DECL(creat)(const char* path, mode_t mode) ...@@ -435,8 +418,6 @@ int DARSHAN_DECL(creat)(const char* path, mode_t mode)
int ret; int ret;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(creat); MAP_OR_FAIL(creat);
tm1 = darshan_core_wtime(); tm1 = darshan_core_wtime();
...@@ -448,8 +429,6 @@ int DARSHAN_DECL(creat)(const char* path, mode_t mode) ...@@ -448,8 +429,6 @@ int DARSHAN_DECL(creat)(const char* path, mode_t mode)
POSIX_RECORD_OPEN(ret, path, mode, 0, tm1, tm2); POSIX_RECORD_OPEN(ret, path, mode, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -458,8 +437,6 @@ int DARSHAN_DECL(creat64)(const char* path, mode_t mode) ...@@ -458,8 +437,6 @@ int DARSHAN_DECL(creat64)(const char* path, mode_t mode)
int ret; int ret;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(creat64); MAP_OR_FAIL(creat64);
tm1 = darshan_core_wtime(); tm1 = darshan_core_wtime();
...@@ -471,8 +448,6 @@ int DARSHAN_DECL(creat64)(const char* path, mode_t mode) ...@@ -471,8 +448,6 @@ int DARSHAN_DECL(creat64)(const char* path, mode_t mode)
POSIX_RECORD_OPEN(ret, path, mode, 0, tm1, tm2); POSIX_RECORD_OPEN(ret, path, mode, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -482,8 +457,6 @@ FILE* DARSHAN_DECL(fopen)(const char *path, const char *mode) ...@@ -482,8 +457,6 @@ FILE* DARSHAN_DECL(fopen)(const char *path, const char *mode)
int fd; int fd;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(fopen); MAP_OR_FAIL(fopen);
tm1 = darshan_core_wtime(); tm1 = darshan_core_wtime();
...@@ -500,8 +473,6 @@ FILE* DARSHAN_DECL(fopen)(const char *path, const char *mode) ...@@ -500,8 +473,6 @@ FILE* DARSHAN_DECL(fopen)(const char *path, const char *mode)
POSIX_RECORD_OPEN(fd, path, 0, 1, tm1, tm2); POSIX_RECORD_OPEN(fd, path, 0, 1, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -511,8 +482,6 @@ FILE* DARSHAN_DECL(fopen64)(const char *path, const char *mode) ...@@ -511,8 +482,6 @@ FILE* DARSHAN_DECL(fopen64)(const char *path, const char *mode)
int fd; int fd;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(fopen64); MAP_OR_FAIL(fopen64);
tm1 = darshan_core_wtime(); tm1 = darshan_core_wtime();
...@@ -529,8 +498,6 @@ FILE* DARSHAN_DECL(fopen64)(const char *path, const char *mode) ...@@ -529,8 +498,6 @@ FILE* DARSHAN_DECL(fopen64)(const char *path, const char *mode)
POSIX_RECORD_OPEN(fd, path, 0, 1, tm1, tm2); POSIX_RECORD_OPEN(fd, path, 0, 1, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -539,8 +506,6 @@ int DARSHAN_DECL(mkstemp)(char* template) ...@@ -539,8 +506,6 @@ int DARSHAN_DECL(mkstemp)(char* template)
int ret; int ret;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(mkstemp); MAP_OR_FAIL(mkstemp);
tm1 = darshan_core_wtime(); tm1 = darshan_core_wtime();
...@@ -552,8 +517,6 @@ int DARSHAN_DECL(mkstemp)(char* template) ...@@ -552,8 +517,6 @@ int DARSHAN_DECL(mkstemp)(char* template)
POSIX_RECORD_OPEN(ret, template, 0, 0, tm1, tm2); POSIX_RECORD_OPEN(ret, template, 0, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -562,8 +525,6 @@ int DARSHAN_DECL(mkostemp)(char* template, int flags) ...@@ -562,8 +525,6 @@ int DARSHAN_DECL(mkostemp)(char* template, int flags)
int ret; int ret;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(mkostemp); MAP_OR_FAIL(mkostemp);
tm1 = darshan_core_wtime(); tm1 = darshan_core_wtime();
...@@ -575,8 +536,6 @@ int DARSHAN_DECL(mkostemp)(char* template, int flags) ...@@ -575,8 +536,6 @@ int DARSHAN_DECL(mkostemp)(char* template, int flags)
POSIX_RECORD_OPEN(ret, template, 0, 0, tm1, tm2); POSIX_RECORD_OPEN(ret, template, 0, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -585,8 +544,6 @@ int DARSHAN_DECL(mkstemps)(char* template, int suffixlen) ...@@ -585,8 +544,6 @@ int DARSHAN_DECL(mkstemps)(char* template, int suffixlen)
int ret; int ret;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(mkstemps); MAP_OR_FAIL(mkstemps);
tm1 = darshan_core_wtime(); tm1 = darshan_core_wtime();
...@@ -598,8 +555,6 @@ int DARSHAN_DECL(mkstemps)(char* template, int suffixlen) ...@@ -598,8 +555,6 @@ int DARSHAN_DECL(mkstemps)(char* template, int suffixlen)
POSIX_RECORD_OPEN(ret, template, 0, 0, tm1, tm2); POSIX_RECORD_OPEN(ret, template, 0, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -608,8 +563,6 @@ int DARSHAN_DECL(mkostemps)(char* template, int suffixlen, int flags) ...@@ -608,8 +563,6 @@ int DARSHAN_DECL(mkostemps)(char* template, int suffixlen, int flags)
int ret; int ret;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(mkostemps); MAP_OR_FAIL(mkostemps);
tm1 = darshan_core_wtime(); tm1 = darshan_core_wtime();
...@@ -621,8 +574,6 @@ int DARSHAN_DECL(mkostemps)(char* template, int suffixlen, int flags) ...@@ -621,8 +574,6 @@ int DARSHAN_DECL(mkostemps)(char* template, int suffixlen, int flags)
POSIX_RECORD_OPEN(ret, template, 0, 0, tm1, tm2); POSIX_RECORD_OPEN(ret, template, 0, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -632,8 +583,6 @@ ssize_t DARSHAN_DECL(read)(int fd, void *buf, size_t count) ...@@ -632,8 +583,6 @@ ssize_t DARSHAN_DECL(read)(int fd, void *buf, size_t count)
int aligned_flag = 0; int aligned_flag = 0;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(read); MAP_OR_FAIL(read);
if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1; if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1;
...@@ -647,8 +596,6 @@ ssize_t DARSHAN_DECL(read)(int fd, void *buf, size_t count) ...@@ -647,8 +596,6 @@ ssize_t DARSHAN_DECL(read)(int fd, void *buf, size_t count)
POSIX_RECORD_READ(ret, fd, 0, 0, aligned_flag, 0, tm1, tm2); POSIX_RECORD_READ(ret, fd, 0, 0, aligned_flag, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -658,8 +605,6 @@ ssize_t DARSHAN_DECL(write)(int fd, const void *buf, size_t count) ...@@ -658,8 +605,6 @@ ssize_t DARSHAN_DECL(write)(int fd, const void *buf, size_t count)
int aligned_flag = 0; int aligned_flag = 0;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(write); MAP_OR_FAIL(write);
if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1; if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1;
...@@ -673,8 +618,6 @@ ssize_t DARSHAN_DECL(write)(int fd, const void *buf, size_t count) ...@@ -673,8 +618,6 @@ ssize_t DARSHAN_DECL(write)(int fd, const void *buf, size_t count)
POSIX_RECORD_WRITE(ret, fd, 0, 0, aligned_flag, 0, tm1, tm2); POSIX_RECORD_WRITE(ret, fd, 0, 0, aligned_flag, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -684,8 +627,6 @@ ssize_t DARSHAN_DECL(pread)(int fd, void *buf, size_t count, off_t offset) ...@@ -684,8 +627,6 @@ ssize_t DARSHAN_DECL(pread)(int fd, void *buf, size_t count, off_t offset)
int aligned_flag = 0; int aligned_flag = 0;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(pread); MAP_OR_FAIL(pread);
if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1; if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1;
...@@ -699,8 +640,6 @@ ssize_t DARSHAN_DECL(pread)(int fd, void *buf, size_t count, off_t offset) ...@@ -699,8 +640,6 @@ ssize_t DARSHAN_DECL(pread)(int fd, void *buf, size_t count, off_t offset)
POSIX_RECORD_READ(ret, fd, 1, offset, aligned_flag, 0, tm1, tm2); POSIX_RECORD_READ(ret, fd, 1, offset, aligned_flag, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -710,8 +649,6 @@ ssize_t DARSHAN_DECL(pwrite)(int fd, const void *buf, size_t count, off_t offset ...@@ -710,8 +649,6 @@ ssize_t DARSHAN_DECL(pwrite)(int fd, const void *buf, size_t count, off_t offset
int aligned_flag = 0; int aligned_flag = 0;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(pwrite); MAP_OR_FAIL(pwrite);
if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1; if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1;
...@@ -725,8 +662,6 @@ ssize_t DARSHAN_DECL(pwrite)(int fd, const void *buf, size_t count, off_t offset ...@@ -725,8 +662,6 @@ ssize_t DARSHAN_DECL(pwrite)(int fd, const void *buf, size_t count, off_t offset
POSIX_RECORD_WRITE(ret, fd, 1, offset, aligned_flag, 0, tm1, tm2); POSIX_RECORD_WRITE(ret, fd, 1, offset, aligned_flag, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -736,8 +671,6 @@ ssize_t DARSHAN_DECL(pread64)(int fd, void *buf, size_t count, off64_t offset) ...@@ -736,8 +671,6 @@ ssize_t DARSHAN_DECL(pread64)(int fd, void *buf, size_t count, off64_t offset)
int aligned_flag = 0; int aligned_flag = 0;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(pread64); MAP_OR_FAIL(pread64);
if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1; if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1;
...@@ -751,8 +684,6 @@ ssize_t DARSHAN_DECL(pread64)(int fd, void *buf, size_t count, off64_t offset) ...@@ -751,8 +684,6 @@ ssize_t DARSHAN_DECL(pread64)(int fd, void *buf, size_t count, off64_t offset)
POSIX_RECORD_READ(ret, fd, 1, offset, aligned_flag, 0, tm1, tm2); POSIX_RECORD_READ(ret, fd, 1, offset, aligned_flag, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -762,8 +693,6 @@ ssize_t DARSHAN_DECL(pwrite64)(int fd, const void *buf, size_t count, off64_t of ...@@ -762,8 +693,6 @@ ssize_t DARSHAN_DECL(pwrite64)(int fd, const void *buf, size_t count, off64_t of
int aligned_flag = 0; int aligned_flag = 0;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(pwrite64); MAP_OR_FAIL(pwrite64);
if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1; if((unsigned long)buf % darshan_mem_alignment == 0) aligned_flag = 1;
...@@ -777,8 +706,6 @@ ssize_t DARSHAN_DECL(pwrite64)(int fd, const void *buf, size_t count, off64_t of ...@@ -777,8 +706,6 @@ ssize_t DARSHAN_DECL(pwrite64)(int fd, const void *buf, size_t count, off64_t of
POSIX_RECORD_WRITE(ret, fd, 1, offset, aligned_flag, 0, tm1, tm2); POSIX_RECORD_WRITE(ret, fd, 1, offset, aligned_flag, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -789,8 +716,6 @@ ssize_t DARSHAN_DECL(readv)(int fd, const struct iovec *iov, int iovcnt) ...@@ -789,8 +716,6 @@ ssize_t DARSHAN_DECL(readv)(int fd, const struct iovec *iov, int iovcnt)
int i; int i;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(readv); MAP_OR_FAIL(readv);
for(i=0; i<iovcnt; i++) for(i=0; i<iovcnt; i++)
...@@ -808,8 +733,6 @@ ssize_t DARSHAN_DECL(readv)(int fd, const struct iovec *iov, int iovcnt) ...@@ -808,8 +733,6 @@ ssize_t DARSHAN_DECL(readv)(int fd, const struct iovec *iov, int iovcnt)
POSIX_RECORD_READ(ret, fd, 0, 0, aligned_flag, 0, tm1, tm2); POSIX_RECORD_READ(ret, fd, 0, 0, aligned_flag, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -820,8 +743,6 @@ ssize_t DARSHAN_DECL(writev)(int fd, const struct iovec *iov, int iovcnt) ...@@ -820,8 +743,6 @@ ssize_t DARSHAN_DECL(writev)(int fd, const struct iovec *iov, int iovcnt)
int i; int i;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(writev); MAP_OR_FAIL(writev);
for(i=0; i<iovcnt; i++) for(i=0; i<iovcnt; i++)
...@@ -839,8 +760,6 @@ ssize_t DARSHAN_DECL(writev)(int fd, const struct iovec *iov, int iovcnt) ...@@ -839,8 +760,6 @@ ssize_t DARSHAN_DECL(writev)(int fd, const struct iovec *iov, int iovcnt)
POSIX_RECORD_WRITE(ret, fd, 0, 0, aligned_flag, 0, tm1, tm2); POSIX_RECORD_WRITE(ret, fd, 0, 0, aligned_flag, 0, tm1, tm2);
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -850,8 +769,6 @@ size_t DARSHAN_DECL(fread)(void *ptr, size_t size, size_t nmemb, FILE *stream) ...@@ -850,8 +769,6 @@ size_t DARSHAN_DECL(fread)(void *ptr, size_t size, size_t nmemb, FILE *stream)
int aligned_flag = 0; int aligned_flag = 0;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(fread); MAP_OR_FAIL(fread);
if((unsigned long)ptr % darshan_mem_alignment == 0) aligned_flag = 1; if((unsigned long)ptr % darshan_mem_alignment == 0) aligned_flag = 1;
...@@ -874,8 +791,6 @@ size_t DARSHAN_DECL(fread)(void *ptr, size_t size, size_t nmemb, FILE *stream) ...@@ -874,8 +791,6 @@ size_t DARSHAN_DECL(fread)(void *ptr, size_t size, size_t nmemb, FILE *stream)
} }
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -885,8 +800,6 @@ size_t DARSHAN_DECL(fwrite)(const void *ptr, size_t size, size_t nmemb, FILE *st ...@@ -885,8 +800,6 @@ size_t DARSHAN_DECL(fwrite)(const void *ptr, size_t size, size_t nmemb, FILE *st
int aligned_flag = 0; int aligned_flag = 0;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(fwrite); MAP_OR_FAIL(fwrite);
if((unsigned long)ptr % darshan_mem_alignment == 0) aligned_flag = 1; if((unsigned long)ptr % darshan_mem_alignment == 0) aligned_flag = 1;
...@@ -909,8 +822,6 @@ size_t DARSHAN_DECL(fwrite)(const void *ptr, size_t size, size_t nmemb, FILE *st ...@@ -909,8 +822,6 @@ size_t DARSHAN_DECL(fwrite)(const void *ptr, size_t size, size_t nmemb, FILE *st
} }
POSIX_UNLOCK(); POSIX_UNLOCK();
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -920,8 +831,6 @@ off_t DARSHAN_DECL(lseek)(int fd, off_t offset, int whence) ...@@ -920,8 +831,6 @@ off_t DARSHAN_DECL(lseek)(int fd, off_t offset, int whence)
struct posix_file_runtime* file; struct posix_file_runtime* file;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(lseek); MAP_OR_FAIL(lseek);
tm1 = darshan_core_wtime(); tm1 = darshan_core_wtime();
...@@ -944,8 +853,6 @@ off_t DARSHAN_DECL(lseek)(int fd, off_t offset, int whence) ...@@ -944,8 +853,6 @@ off_t DARSHAN_DECL(lseek)(int fd, off_t offset, int whence)
POSIX_UNLOCK(); POSIX_UNLOCK();
} }
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -955,8 +862,6 @@ off_t DARSHAN_DECL(lseek64)(int fd, off_t offset, int whence) ...@@ -955,8 +862,6 @@ off_t DARSHAN_DECL(lseek64)(int fd, off_t offset, int whence)
struct posix_file_runtime* file; struct posix_file_runtime* file;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(lseek64); MAP_OR_FAIL(lseek64);
tm1 = darshan_core_wtime(); tm1 = darshan_core_wtime();
...@@ -979,8 +884,6 @@ off_t DARSHAN_DECL(lseek64)(int fd, off_t offset, int whence) ...@@ -979,8 +884,6 @@ off_t DARSHAN_DECL(lseek64)(int fd, off_t offset, int whence)
POSIX_UNLOCK(); POSIX_UNLOCK();
} }
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -990,8 +893,6 @@ int DARSHAN_DECL(fseek)(FILE *stream, long offset, int whence) ...@@ -990,8 +893,6 @@ int DARSHAN_DECL(fseek)(FILE *stream, long offset, int whence)
struct posix_file_runtime* file; struct posix_file_runtime* file;
double tm1, tm2; double tm1, tm2;
PSX_PRE_WRAP();
MAP_OR_FAIL(fseek); MAP_OR_FAIL(fseek);
tm1 = darshan_core_wtime(); tm1 = darshan_core_wtime();
...@@ -1014,8 +915,6 @@ int DARSHAN_DECL(fseek)(FILE *stream, long offset, int whence) ...@@ -1014,8 +915,6 @@ int DARSHAN_DECL(fseek)(FILE *stream, long offset, int whence)
POSIX_UNLOCK(); POSIX_UNLOCK();
} }
PSX_POST_WRAP();
return(ret); return(ret);
} }
...@@ -1024,8 +923,6 @@ int DARSHAN_DECL(__xstat)(int vers, const char *path, struct stat *buf) ...@@ -1024,8 +923,6 @@ int DARSHAN_DECL(__xstat)(int vers, const char *path, struct stat *buf)
int ret; int ret;
double tm1, tm2; double tm1, tm2;