summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Arber <larber@ncsa.uiuc.edu>2007-03-01 01:00:16 (GMT)
committerLeon Arber <larber@ncsa.uiuc.edu>2007-03-01 01:00:16 (GMT)
commit2618906fee4c3fe20c81c8b2b2d744af4f13e5a7 (patch)
tree9396c4ad6d4f00296330d594b50d8f2f5821641b
parent273a3b6d0ed6573618eecfc85ca679c9bf07c346 (diff)
downloadhdf5-2618906fee4c3fe20c81c8b2b2d744af4f13e5a7.zip
hdf5-2618906fee4c3fe20c81c8b2b2d744af4f13e5a7.tar.gz
hdf5-2618906fee4c3fe20c81c8b2b2d744af4f13e5a7.tar.bz2
[svn-r13438] Purpose: Bug Fix
Description: Fixed some mistakes introduced yesterday due to a misunderstanding of what sort of datatypes the trace scripts prints out. This commit mostly reverts those changes, adds some new datatypes, and fixes some errors with regards to how the trace script handles pointer datatypes. Since the trace script scans the argument list for the "*" character and handles it appropriately, one should never need to explicitly specify a pointer type in the TypeString hash.
-rwxr-xr-xbin/trace110
1 files changed, 54 insertions, 56 deletions
diff --git a/bin/trace b/bin/trace
index 7f7c9f3..610b7c9 100755
--- a/bin/trace
+++ b/bin/trace
@@ -29,102 +29,100 @@ $Source = "";
# usually the same as the package name.
#
%TypeString = ("haddr_t" => "a",
- "H5A_operator_t" => "Ao",
- "H5A_info_t" => "Ai",
- "H5A_operator2_t" => "Ap",
"hbool_t" => "b",
- "H5AC_cache_config_t" => "c",
"double" => "d",
- "H5D_alloc_time_t" => "Da",
+ "H5D_alloc_time_t" => "Da",
+ "H5FD_mpio_collective_opt_t" => "Dc",
"H5D_fill_time_t" => "Df",
"H5D_fill_value_t" => "DF",
+ "H5FD_mpio_chunk_opt_t" => "Dh",
"H5D_layout_t" => "Dl",
"H5D_space_status_t" => "Ds",
"H5FD_mpio_xfer_t" => "Dt",
- "H5FD_mpio_collective_opt_t" => "Dc",
- "H5FD_mpio_chunk_opt_t" => "Dh",
- "H5D_operator_t" => "Do",
"herr_t" => "e",
- "H5E_auto_stack_t" => "Ea",
- "H5E_auto_t" => "Eb",
"H5E_direction_t" => "Ed",
"H5E_error_t" => "Ee",
- "H5E_type_t" => "Et",
- "H5E_walk_stack_t" => "Es",
- "H5E_walk_t" => "Ew",
- "FILE" => "f",
- "H5FD_class_t" => "Fc",
- "H5F_close_degree_t" => "Fd",
- "H5FD_t" => "Ff",
+ "H5E_type_t" => "Et",
+ "H5F_close_degree_t" => "Fd",
"H5F_scope_t" => "Fs",
- "H5FD_stream_fapl_t" => "Ft",
- "H5E_major_t" => "g",
- "H5G_iterate_t" => "Gi",
- "H5G_info_t" => "Gn",
"H5G_obj_t" => "Go",
"H5G_stat_t" => "Gs",
- "hsize_t" => "h",
+ "hsize_t" => "h",
"hssize_t" => "Hs",
+ "H5E_major_t" => "i",
+ "H5E_minor_t" => "i",
+ "H5_iter_order_t" => "Io",
+ "H5_index_t" => "Ii",
"hid_t" => "i",
- "H5_index_t" => "Ii",
- "int" => "In",
- "H5_iter_order_t" => "Io",
- "int32_t" => "It",
- "H5I_type_t" => "Iy",
- "H5L_class_t" => "Lc",
+ "int" => "Is",
+ "int32_t" => "Is",
+ "unsigned" => "Iu",
+ "unsigned int" => "Iu",
+ "H5I_type_t" => "It",
"H5L_type_t" => "Ll",
- "H5L_index_t" => "Li",
- "H5L_iterate_t" => "Lt",
- "H5E_minor_t" => "m",
- "H5MM_allocate_t" => "Ma",
- "MPI_Comm" => "Mc",
- "H5MM_free_t" => "Mf",
+ "MPI_Comm" => "Mc",
"MPI_Info" => "Mi",
"H5FD_mem_t" => "Mt",
- "H5_index_t" => "n",
"off_t" => "o",
- "H5O_info_t" => "Oi",
"H5P_class_t" => "p",
- "H5P_cls_create_func_t" => "Pa",
- "H5P_cls_copy_func_t" => "Pb",
- "H5P_cls_close_func_t" => "Pc",
- "H5P_iterate_t" => "Pd",
- "H5P_prp_create_func_t" => "Pe",
- "H5P_prp_copy_func_t" => "Pf",
- "H5P_prp_close_func_t" => "Pg",
- "H5P_prp_delete_func_t" => "Ph",
- "H5P_prp_get_func_t" => "Pi",
- "H5P_prp_set_func_t" => "Pj",
- "H5_iter_order_t" => "r",
+ "hobj_ref_t" => "r",
"H5R_type_t" => "Rt",
"char" => "s",
"H5S_class_t" => "Sc",
"H5S_seloper_t" => "Ss",
"H5S_sel_type" => "St",
"htri_t" => "t",
- "H5T_cdata_t" => "Ta",
"H5T_cset_t", => "Tc",
"H5T_direction_t", => "Td",
- "H5T_conv_except_func_t" => "Te",
"H5T_norm_t" => "Tn",
"H5T_order_t" => "To",
"H5T_pad_t" => "Tp",
- "H5T_pers_t" => "Tr",
+ "H5T_pers_t" => "Te",
"H5T_sign_t" => "Ts",
"H5T_class_t" => "Tt",
- "H5T_conv_t" => "Tv",
"H5T_str_t" => "Tz",
- "unsigned" => "u",
- "unsigned int" => "Ui",
- "void" => "v",
+ "void" => "x",
+ "FILE" => "x",
+ "H5A_operator_t" => "x",
+ "H5A_operator2_t" => "x",
+ "H5A_info_t" => "x",
+ "H5AC_cache_config_t" => "x",
+ "H5D_operator_t" => "x",
+ "H5E_auto_t" => "x",
+ "H5E_auto_stack_t" => "x",
+ "H5E_walk_t" => "x",
+ "H5E_walk_stack_t" => "x",
+ "H5FD_t" => "x",
+ "H5FD_class_t" => "x",
+ "H5FD_stream_fapl_t" => "x",
+ "H5G_iterate_t" => "x",
+ "H5G_info_t" => "x",
+ "H5L_class_t" => "x",
+ "H5L_iterate_t" => "x",
+ "H5MM_allocate_t" => "x",
+ "H5MM_free_t" => "x",
+ "H5O_info_t" => "x",
+ "H5P_cls_create_func_t" => "x",
+ "H5P_cls_copy_func_t" => "x",
+ "H5P_cls_close_func_t" => "x",
+ "H5P_iterate_t" => "x",
+ "H5P_prp_create_func_t" => "x",
+ "H5P_prp_copy_func_t" => "x",
+ "H5P_prp_close_func_t" => "x",
+ "H5P_prp_delete_func_t" => "x",
+ "H5P_prp_get_func_t" => "x",
+ "H5P_prp_set_func_t" => "x",
+ "H5T_cdata_t" => "x",
+ "H5T_conv_t" => "x",
+ "H5T_conv_except_func_t" => "x",
+ "H5Z_func_t" => "x",
+ "H5Z_filter_func_t" => "x",
"size_t" => "z",
"H5Z_SO_scale_type_t" => "Za",
"H5Z_class_t" => "Zc",
"H5Z_EDC_t" => "Ze",
- "H5Z_filter_func_t" => "Zi",
"H5Z_filter_t" => "Zf",
"ssize_t" => "Zs",
- "H5Z_func_t" => "Zu",
);
##############################################################################