Skip to content

Surprised that some call-sites are split #21

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

Open
sfiruch opened this issue Feb 1, 2025 · 1 comment
Open

Surprised that some call-sites are split #21

sfiruch opened this issue Feb 1, 2025 · 1 comment

Comments

@sfiruch
Copy link

sfiruch commented Feb 1, 2025

Context

I notice from time to time that sometimes a called function is split into two nodes in the call tree and flamegraph. Here's one example, which I'm confused by.

The RequestSum method contains a single call to LoadTreeFromSession. There's only a single call-site, and it's always using the same parameters.
Image

Image

Here's the public profile:
https://share.firefox.dev/40IzYpz

Question

Is this expected or a bug? Can I prevent it from happening?

@sfiruch sfiruch changed the title Some functions are split (not merged) Surprised that some call-sites are split Feb 1, 2025
@mstange
Copy link

mstange commented Feb 1, 2025

Seems unexpected to me. It probably means that ConvertMethod created two different funcTable entries for this method. I would expect a single funcTable entry, and potentially different frameTable entries using that same func.

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

No branches or pull requests

2 participants