summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-02-19 08:07:07 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-02-19 08:07:07 (GMT)
commita8a9b4717062c4335d7d6964e58d4496a3e8f088 (patch)
tree5f5efa4c433134ce1919ab8bc91d3cc8942fe263 /bin
parentec90898719730156a5ad3d89653e8183fc52a546 (diff)
downloadhdf5-a8a9b4717062c4335d7d6964e58d4496a3e8f088.zip
hdf5-a8a9b4717062c4335d7d6964e58d4496a3e8f088.tar.gz
hdf5-a8a9b4717062c4335d7d6964e58d4496a3e8f088.tar.bz2
[svn-r26229] Removed NO TRACE notifications from bin/trace script.
Fixes: HDFFV-9098 Tested on: 64-bit linux VM (autogen only)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/trace11
1 files changed, 5 insertions, 6 deletions
diff --git a/bin/trace b/bin/trace
index abd47cd..6c1d9bb 100755
--- a/bin/trace
+++ b/bin/trace
@@ -281,13 +281,9 @@ sub rewrite_func ($$$$$) {
# The H5TRACE() statement
if ($body =~ /\/\*[ \t]*NO[ \t]*TRACE[ \t]*\*\//) {
- if ($body =~ /\s*H5TRACE\d+\s*\(/) {
- errmesg $file, $name, "warning: trace info was not updated because of NO TRACE comment";
- } else {
- errmesg $file, $name, "warning: trace info was not inserted because of NO TRACE comment";
- }
+ # Ignored due to NO TRACE comment.
} elsif ($body =~ s/((\n[ \t]*)H5TRACE\d+\s*\(.*?\);)\n/"$2$trace"/es) {
- # Replaced an H5TRACE macro
+ # Replaced an H5TRACE macro.
} elsif ($body=~s/((\n[ \t]*)FUNC_ENTER\w*\s*\(.*?\);??)\n/"$1$2$trace"/es) {
# Added an H5TRACE macro after a FUNC_ENTER macro.
} else {
@@ -335,3 +331,6 @@ for $file (@ARGV) {
}
}
}
+
+printf "Finished processing HDF5 API calls\n"
+