summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/iostats6
-rwxr-xr-xbin/trace2
2 files changed, 6 insertions, 2 deletions
diff --git a/bin/iostats b/bin/iostats
index 0e96e29..6728027 100755
--- a/bin/iostats
+++ b/bin/iostats
@@ -78,6 +78,8 @@ if (!$fast) {
print "="x36, "\n";
printf("Write: %8d calls, %10d total bytes, %10g average bytes\n",
- $total_writes, $total_bytes_out, $total_bytes_out/$total_writes);
+ $total_writes, $total_bytes_out, $total_bytes_out/$total_writes)
+ if $total_writes;
printf("Read: %8d calls, %10d total bytes, %10g average bytes\n",
- $total_reads, $total_bytes_in, $total_bytes_in/$total_reads);
+ $total_reads, $total_bytes_in, $total_bytes_in/$total_reads)
+ if $total_reads;
diff --git a/bin/trace b/bin/trace
index fe29bba..165a51b 100755
--- a/bin/trace
+++ b/bin/trace
@@ -23,6 +23,8 @@ $Source = "";
"herr_t" => "e",
"H5E_direction_t" => "Ed",
"H5E_error_t*" => "Ee",
+ "H5E_major_t" => "Ej",
+ "H5E_minor_t" => "En",
"H5F_scope_t" => "Fs",
"H5FD_t*" => "x",
"H5FD_class_t*" => "x",