diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-05-07 23:20:19 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-05-07 23:20:19 (GMT) |
commit | f8e8b340dcc2e3abbf477b49b2ee0c2fdede1e7c (patch) | |
tree | d26f7f811576a300fe88567d31bef1eb2d46a280 /src/H5trace.c | |
parent | af84ce737d94466e489d3b41953324651b1c9210 (diff) | |
download | hdf5-f8e8b340dcc2e3abbf477b49b2ee0c2fdede1e7c.zip hdf5-f8e8b340dcc2e3abbf477b49b2ee0c2fdede1e7c.tar.gz hdf5-f8e8b340dcc2e3abbf477b49b2ee0c2fdede1e7c.tar.bz2 |
Brings over a bunch of develop boilerplate
Diffstat (limited to 'src/H5trace.c')
-rw-r--r-- | src/H5trace.c | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/H5trace.c b/src/H5trace.c index 00de4ed..d587853 100644 --- a/src/H5trace.c +++ b/src/H5trace.c @@ -1659,6 +1659,10 @@ H5_trace_args(H5RS_str_t *rs, const char *type, va_list ap) (unsigned long long)obj); break; + case H5I_EVENTSET: + H5RS_asprintf_cat(rs, "0x%0llx (event set)", (unsigned long long)obj); + break; + case H5I_NTYPES: H5RS_asprintf_cat(rs, "0x%0llx (ntypes - error)", (unsigned long long)obj); break; @@ -1673,6 +1677,15 @@ H5_trace_args(H5RS_str_t *rs, const char *type, va_list ap) case 'I': switch (type[1]) { + case 'D': /* H5I_future_discard_func_t */ + { + H5I_future_discard_func_t ifdisc = + (H5I_future_discard_func_t)HDva_arg(ap, H5I_future_discard_func_t); + + H5RS_asprintf_cat(rs, "%p", (void *)(uintptr_t)ifdisc); + } /* end block */ + break; + case 'f': /* H5I_free_t */ { H5I_free_t ifree = (H5I_free_t)HDva_arg(ap, H5I_free_t); @@ -1749,6 +1762,15 @@ H5_trace_args(H5RS_str_t *rs, const char *type, va_list ap) } /* end block */ break; + case 'R': /* H5I_future_realize_func_t */ + { + H5I_future_realize_func_t ifreal = + (H5I_future_realize_func_t)HDva_arg(ap, H5I_future_realize_func_t); + + H5RS_asprintf_cat(rs, "%p", (void *)(uintptr_t)ifreal); + } /* end block */ + break; + case 's': /* int / int32_t */ { int is = HDva_arg(ap, int); @@ -1839,6 +1861,10 @@ H5_trace_args(H5RS_str_t *rs, const char *type, va_list ap) H5RS_acat(rs, "H5I_SPACE_SEL_ITER"); break; + case H5I_EVENTSET: + H5RS_acat(rs, "H5I_EVENTSET"); + break; + case H5I_NTYPES: H5RS_acat(rs, "H5I_NTYPES"); break; @@ -2959,6 +2985,10 @@ H5_trace_args(H5RS_str_t *rs, const char *type, va_list ap) H5RS_acat(rs, "H5VL_DATASET_REFRESH"); break; + case H5VL_DATASET_WAIT: + H5RS_acat(rs, "H5VL_DATASET_WAIT"); + break; + default: H5RS_asprintf_cat(rs, "%ld", (long)specific); break; @@ -3083,6 +3113,10 @@ H5_trace_args(H5RS_str_t *rs, const char *type, va_list ap) H5RS_acat(rs, "H5VL_FILE_IS_EQUAL"); break; + case H5VL_FILE_WAIT: + H5RS_acat(rs, "H5VL_FILE_WAIT"); + break; + default: H5RS_asprintf_cat(rs, "%ld", (long)specific); break; @@ -3295,6 +3329,34 @@ H5_trace_args(H5RS_str_t *rs, const char *type, va_list ap) } /* end block */ break; + case 'r': /* H5VL_request_specific_t */ + { + H5VL_request_specific_t specific = (H5VL_request_specific_t)HDva_arg(ap, int); + + switch (specific) { + case H5VL_REQUEST_WAITANY: + H5RS_acat(rs, "H5VL_REQUEST_WAITANY"); + break; + + case H5VL_REQUEST_WAITSOME: + H5RS_acat(rs, "H5VL_REQUEST_WAITSOME"); + break; + + case H5VL_REQUEST_WAITALL: + H5RS_acat(rs, "H5VL_REQUEST_WAITALL"); + break; + + case H5VL_REQUEST_GET_ERR_STACK: + H5RS_acat(rs, "H5VL_REQUEST_GET_ERR_STACK"); + break; + + default: + H5RS_asprintf_cat(rs, "%ld", (long)specific); + break; + } /* end switch */ + } /* end block */ + break; + case 's': /* H5VL_attr_optional_t */ { H5VL_attr_optional_t optional = (H5VL_attr_optional_t)HDva_arg(ap, int); |