-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port stackcollapse-recursive.pl #291
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Two minor nits, and then I think we're ready to land this 🎉
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #291 +/- ##
==========================================
- Coverage 91.08% 91.01% -0.07%
==========================================
Files 18 19 +1
Lines 4249 4385 +136
==========================================
+ Hits 3870 3991 +121
- Misses 379 394 +15
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Released in 0.11.16 🎉 |
Original script - https://github.com/brendangregg/FlameGraph/blob/master/stackcollapse-recursive.pl
I was a bit unsure whether this fit better as a standalone script or as an option to the existing collapse scripts, but for a first pass I ported this as a standalone script, as
--squash-recursive
option to one of the other collapse scripts after you decide you want to collapse recursive calls.I can definitely also see benefits to adding this as an option to the existing collapse scripts, so I'm happy to switch to that if you'd prefer!
Fixes #275.