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

pkg/query: TestGenerateFlamegraphArrowWithInlined #3415

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

metalmatze
Copy link
Member

Turns out we already inlined almost correctly. pprof just stores the lines in reverse order, just like the locations too. Flipping these around did the trick.

Comparing the arrow and table flame graphs the inlining seems fine now.

Turns out we already inlined almost correctly. pprof just stores the lines in reverse order, just like the locations too. Flipping these around did the trick.

Comparing the arrow and table flame graphs the inlining seems fine now.
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!

@metalmatze metalmatze merged commit 7833f5d into main Jul 10, 2023
@metalmatze metalmatze deleted the flamegraph-arrow-inlining branch July 10, 2023 09:39
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.

2 participants