diff options
| author | Dan Williams <[email protected]> | 2024-01-02 11:03:04 -0800 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2024-01-02 11:03:04 -0800 |
| commit | 11c83932028714014e4259072bd230473d6db730 (patch) | |
| tree | ba5de3af7a65a6a60ebb1f0a36328fd853130ecd /scripts/checkstack.pl | |
| parent | 58f1e9d3a30438042fc9ed65b3dc56b2e5f7886a (diff) | |
| parent | 185c1a489f873cb71520fc089401e02dbf302dcd (diff) | |
Merge branch 'for-6.8/cxl-cdat' into for-6.8/cxl
Pick up the CDAT parsing and QOS class infrastructure for v6.8.
Diffstat (limited to 'scripts/checkstack.pl')
| -rwxr-xr-x | scripts/checkstack.pl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index d83ba5d8f3f4..f27d552aec43 100755 --- a/scripts/checkstack.pl +++ b/scripts/checkstack.pl @@ -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) { |