Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
tests
/
leak_finder.pl
diff --git
a/lustre/tests/leak_finder.pl
b/lustre/tests/leak_finder.pl
index
5219996
..
45d2211
100644
(file)
--- a/
lustre/tests/leak_finder.pl
+++ b/
lustre/tests/leak_finder.pl
@@
-14,7
+14,7
@@
my $max = 0;
while ($line = <>) {
$debug_line++;
my ($file, $func, $lno, $name, $size, $addr, $type);
while ($line = <>) {
$debug_line++;
my ($file, $func, $lno, $name, $size, $addr, $type);
- if ($line =~ m/^.*(\.).*\((.*):(\d+):(.*)\(\)\) (k|v|slab-)(.*) '(.*)': (\d+) at (
.*) \(tot (.*)\).*$
/){
+ if ($line =~ m/^.*(\.).*\((.*):(\d+):(.*)\(\)\) (k|v|slab-)(.*) '(.*)': (\d+) at (
[\da-f]+)
/){
$file = $2;
$lno = $3;
$func = $4;
$file = $2;
$lno = $3;
$func = $4;
@@
-22,7
+22,6
@@
while ($line = <>) {
$name = $7;
$size = $8;
$addr = $9;
$name = $7;
$size = $8;
$addr = $9;
- $tot = $10;
# we can't dump the log after portals has exited, so skip "leaks"
# from memory freed in the portals module unloading.
# we can't dump the log after portals has exited, so skip "leaks"
# from memory freed in the portals module unloading.
@@
-69,10
+68,6
@@
while ($line = <>) {
delete $memory->{$addr};
$total -= $size;
}
delete $memory->{$addr};
$total -= $size;
}
- if ($total != int($tot)) {
- print "kernel total $tot != my total $total\n";
- $total = $tot;
- }
}
# Sort leak output by allocation time
}
# Sort leak output by allocation time