Whamcloud - gitweb
merge b_devel -> b_eq: 20030909
authorericm <ericm>
Tue, 9 Sep 2003 14:37:34 +0000 (14:37 +0000)
committerericm <ericm>
Tue, 9 Sep 2003 14:37:34 +0000 (14:37 +0000)
only kernel pass sanity, liblustre still broken

lustre/tests/leak_finder.pl
lustre/tests/openunlink.c

index 745f113..11e880a 100644 (file)
@@ -14,15 +14,15 @@ my $max = 0;
 while ($line = <>) {
     $debug_line++;
     my ($file, $func, $lno, $name, $size, $addr, $type);
-    if ($line =~ m/^.*\((.*):(\d+):(.*)\(\) (\d+ \| )?\d+\+\d+\): (k|v|slab-)(.*) '(.*)': (\d+) at (.*) \(tot (.*)\).*$/) {
-        $file = $1;
-        $lno = $2;
-        $func = $3;
-        $type = $6;
-        $name = $7;
-        $size = $8;
-        $addr = $9;
-        $tot = $10;
+    if ($line =~ m/^.* :(k|v|slab-)(.*) '(.*)': (\d+) at (.*) \(tot (.*)\)(|\.):\((.*):(\d+):(.*)\(\) (\d+) \| \d+\+\d+\).*$/){
+       $type = $2;
+       $name = $3;
+       $size = $4;
+       $addr = $5;
+       $tot = $6;
+       $file = $8;
+       $lno = $9;
+       $func = $10;
 
        # we can't dump the log after portals has exited, so skip "leaks"
        # from memory freed in the portals module unloading.
index 26bfe79..4a0d8c3 100644 (file)
@@ -75,7 +75,7 @@ int main(int argc, char **argv)
                 exit(1);
         }
 
-        fprintf(stderr, "fstating\n");
+        fprintf(stderr, "fstat...\n");
         rc = fstat(fd, &st);
         if (rc) {
                 fprintf(stderr, "fstat (unlink) %s\n", strerror(errno));