-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Unfoldall support #89
Conversation
Thanks, I'll test it out. (And I still really need to make a test suite for stackcollapse-perf.pl, since changing the regexp's can be tricky; I did put some sample perf output in ~/test for manually checking). One hesitation I had was from an old bug with perf-map-agent unfolding, which Min Zhou reported:
That was many months ago, and it might have been fixed already since then. Just something I'd want to check before encouraging people to use this. :) |
According to jvm-profiling-tools/perf-map-agent#25 it seems to be working, and based on my tests it's doing the right thing if that means anything :) |
another commit that adds inline annotation and fixes the coloring https://gist.github.com/tjake/6c54350c69f86f9e1be37de7866c25d8 |
oh good, that's how I was going to do the inline annotation too. :) That flame graph looks great. |
Tested, works, thanks! Maybe you should write a blog post about this new feature and include that awesome flame graph example. It does increase the map file size, as expected (my prod workload went from 8 Mbytes to 250), and the SVG size too. All expected... |
Very nice. Thanks @tjake for pushing this change. I hacked together something similar (on which I spent only very limited time with my very limited perl skills...) but it wasn't yet ready for a PR. This looks much nicer! |
Hi all! I'm working on a Rust port of flamegraph, and we're about to add this feature to the port (see jonhoo/inferno#13). Did you ever end up with a test case for this? I can't see any occurrences of |
This adds support for jvm-profiling-tools/perf-map-agent#35
You can see before/after here: https://gist.github.com/tjake/b762c51cc8a5ee89df290f2b4f361f81
Note: this patch is on top of #88