summaryrefslogtreecommitdiff
path: root/build-aux/stack.c.gen
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-06 04:00:54 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-09 03:09:22 -0600
commit7e4ef1e64cf639083df342e2e0c904c5207b56cb (patch)
tree40e27cb63280345f57adde4a7a7e9bfd8901881a /build-aux/stack.c.gen
parent4ab5ea47aac1ce29a9cd7f6839c699414e46338f (diff)
stack.c.gen: DIAG: Include thread-counts in the output
Diffstat (limited to 'build-aux/stack.c.gen')
-rwxr-xr-xbuild-aux/stack.c.gen5
1 files changed, 4 insertions, 1 deletions
diff --git a/build-aux/stack.c.gen b/build-aux/stack.c.gen
index 50831c2..b6e49a5 100755
--- a/build-aux/stack.c.gen
+++ b/build-aux/stack.c.gen
@@ -1304,7 +1304,10 @@ def main(
name = location_xform(str(qname))
if val.nstatic == 0:
continue
- print(f"{name.ljust(namelen)} {str(val.nstatic).rjust(numlen)}")
+ print(
+ f"{name.ljust(namelen)} {str(val.nstatic).rjust(numlen)}"
+ + (f" * {val.cnt}" if val.cnt != 1 else "")
+ )
print(sep2)
print(f"{'Total'.ljust(namelen)} {str(nsum).rjust(numlen)}")
print(f"{'Maximum'.ljust(namelen)} {str(nmax).rjust(numlen)}")