Stackwhere analyzes compiled BPF programs to reveal stack memory usage per function and variable from debug information.
How It Works
While troubleshooting why your kernel program exceeds memory limits, you find stackwhere on GitHub to pinpoint stack usage.
Download the ready-to-use program for your computer from the releases page and place it somewhere handy.
Rebuild your program including extra details so the tool can see inside it.
Run the tool on your program file to instantly see the peak memory use for each section, sorted from biggest to smallest.
Choose one busy section and ask the tool for a breakdown of exactly which pieces use memory and where.
Spot the memory hogs, tweak your code like shortening lives of variables or splitting work, and fit comfortably under limits.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.