Skip to content
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

Correct inline existing functions in flamegraphs #485

Merged
merged 2 commits into from Dec 8, 2021

Conversation

metalmatze
Copy link
Member

The key difference to the previous implementation now is, that we always get the nodes for a location first.
Then, then we loop over these and in turn also inline the functions properly. That way handling the inlined functions that aren't yet part of the flame graph are exactly the same as handling inline functions that already exist in the flame graph.

…ed functions

Start the investigation for inserting inlined functions at a given
subtree. Still WIP
Copy link
Member

@brancz brancz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 💯 this was a tough one, nice!!

@brancz brancz merged commit 2003cce into main Dec 8, 2021
@brancz brancz deleted the flat-flamegraph-inlined-existing branch December 8, 2021 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants