Algorithmique Numérique Distribuée Public GIT Repository
 author Frederic Suter Fri, 12 Feb 2016 19:59:50 +0000 (20:59 +0100) committer Frederic Suter Fri, 12 Feb 2016 19:59:50 +0000 (20:59 +0100)
 src/xbt/mmalloc/mmtrace.awk [deleted file] patch | blob | history tools/cmake/DefinePackages.cmake patch | blob | history

diff --git a/src/xbt/mmalloc/mmtrace.awk b/src/xbt/mmalloc/mmtrace.awk
deleted file mode 100644 (file)
index d7689ce..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-#  Awk program to analyze mtrace.c output.
-#
-\$1 == "+"      { if (allocated[\$2] != "")
-                   print "+", \$2, "Alloc", NR, "duplicate:", allocated[\$2];
-                 else
-                   allocated[\$2] = \$3;
-               }
-\$1 == "-"      { if (allocated[\$2] != "") {
-                   allocated[\$2] = "";
-                   if (allocated[\$2] != "")
-                       print "DELETE FAILED", \$2, allocated[\$2];
-                 } else
-                   print "-", \$2, "Free", NR, "was never alloc'd";
-               }
-\$1 == "<"      { if (allocated[\$2] != "")
-                   allocated[\$2] = "";
-                 else
-                   print "-", \$2, "Realloc", NR, "was never alloc'd";
-               }
-\$1 == ">"      { if (allocated[\$2] != "")
-                   print "+", \$2, "Realloc", NR, "duplicate:", allocated[\$2];
-                 else
-                   allocated[\$2] = \$3;
-               }
-
-# Ignore "= Start"
-\$1 == "="      { }
-# Ignore failed realloc attempts for now
-\$1 == "!"      { }
-
-
-END            { for (x in allocated)
-                   if (allocated[x] != "")
-                     print "+", x, allocated[x];
-               }
index 32051f7..243d882 100644 (file)
@@ -114,7 +114,6 @@ set(EXTRA_DIST
src/xbt/mmalloc/mmalloc.texi
src/xbt/mmalloc/mmorecore.c
src/xbt/mmalloc/mmprivate.h
-  src/xbt/mmalloc/mmtrace.awk
src/xbt/mmalloc/mrealloc.c
src/xbt/probes.h
src/xbt/win32_ucontext.c