summaryrefslogtreecommitdiffstats
path: root/src/H5trace.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-11-28 16:22:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-11-28 16:22:29 (GMT)
commit2db4b6df1354a6d006b15fa411684639a08d7243 (patch)
tree539cce528ec3eeb21b4285c5a05792017639f1d0 /src/H5trace.c
parentbf79e1bd766c0660ecd5b26daf2658b98f2732a0 (diff)
downloadhdf5-2db4b6df1354a6d006b15fa411684639a08d7243.zip
hdf5-2db4b6df1354a6d006b15fa411684639a08d7243.tar.gz
hdf5-2db4b6df1354a6d006b15fa411684639a08d7243.tar.bz2
Update API tracing info for VOL functions and regenerate trace macros for VOL
API calls.
Diffstat (limited to 'src/H5trace.c')
-rw-r--r--src/H5trace.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/H5trace.c b/src/H5trace.c
index d69ab28..47c1c69 100644
--- a/src/H5trace.c
+++ b/src/H5trace.c
@@ -2572,6 +2572,29 @@ H5_trace(const double *returning, const char *func, const char *type, ...)
} /* end switch */
} /* end else */
break;
+ case 'C':
+ if(ptr) {
+ if(vp)
+ HDfprintf (out, "0x%lx", (unsigned long)vp);
+ else
+ HDfprintf(out, "NULL");
+ } /* end if */
+ else {
+ H5VL_class_value_t class_val = (H5VL_class_value_t)va_arg(ap, int);
+
+ switch(class_val) {
+ case H5_VOL_NATIVE:
+ HDfprintf(out, "H5_VOL_NATIVE");
+ break;
+ case H5_VOL_MAX_LIB_VALUE:
+ HDfprintf(out, "H5_VOL_MAX_LIB_VALUE");
+ break;
+ default:
+ HDfprintf(out, "%ld", (long)class_val);
+ break;
+ } /* end switch */
+ } /* end else */
+ break;
case 'c':
if(ptr) {
if(vp)
@@ -2940,6 +2963,32 @@ H5_trace(const double *returning, const char *func, const char *type, ...)
} /* end switch */
} /* end else */
break;
+ case 'r':
+ if(ptr) {
+ if(vp)
+ HDfprintf (out, "0x%lx", (unsigned long)vp);
+ else
+ HDfprintf(out, "NULL");
+ } /* end if */
+ else {
+ H5VL_request_specific_t specific = (H5VL_request_specific_t)va_arg(ap, int);
+
+ switch(specific) {
+ case H5VL_REQUEST_WAITANY:
+ HDfprintf(out, "H5VL_REQUEST_WAITANY");
+ break;
+ case H5VL_REQUEST_WAITSOME:
+ HDfprintf(out, "H5VL_REQUEST_WAITSOME");
+ break;
+ case H5VL_REQUEST_WAITALL:
+ HDfprintf(out, "H5VL_REQUEST_WAITALL");
+ break;
+ default:
+ HDfprintf(out, "%ld", (long)specific);
+ break;
+ } /* end switch */
+ } /* end else */
+ break;
default:
HDfprintf(out, "BADTYPE(Z%c)", type[1]);
goto error;