]> Git Repo - linux.git/blobdiff - scripts/checkstack.pl
Merge branch 'master' into mm-hotfixes-stable
[linux.git] / scripts / checkstack.pl
index d83ba5d8f3f49f6c5e7349fefff382c0264fafb8..f27d552aec43f2b41aacf195069510c3121be03b 100755 (executable)
@@ -138,15 +138,11 @@ $total_size = 0;
 while (my $line = <STDIN>) {
        if ($line =~ m/$funcre/) {
                $func = $1;
-               next if $line !~ m/^($xs*)/;
+               next if $line !~ m/^($x*)/;
                if ($total_size > $min_stack) {
                        push @stack, "$intro$total_size\n";
                }
-
-               $addr = $1;
-               $addr =~ s/ /0/g;
-               $addr = "0x$addr";
-
+               $addr = "0x$1";
                $intro = "$addr $func [$file]:";
                my $padlen = 56 - length($intro);
                while ($padlen > 0) {
This page took 0.032469 seconds and 4 git commands to generate.