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

chore: profiling improvements #3941

Merged
merged 7 commits into from
Feb 7, 2025
Merged

chore: profiling improvements #3941

merged 7 commits into from
Feb 7, 2025

Conversation

vaind
Copy link
Collaborator

@vaind vaind commented Feb 6, 2025

Some improvements I've done while investigating #3924 - the only visible thing is deduplicating stack frames that do have a different code address but are actually the same method so as far as the UI is concerned, they're the same frame.

@vaind vaind changed the title fix: profiling - unknown stack frame chore: profiling improvements Feb 6, 2025
@vaind vaind force-pushed the feat/profling-improvements branch from a2b3664 to f89815a Compare February 6, 2025 13:35
@vaind vaind marked this pull request as ready for review February 6, 2025 15:13
@jamescrosswell
Copy link
Collaborator

deduplicating stack frames that do have a different code address but are actually the same method so as far as the UI is concerned

@vaind any idea how/why the same method ends up with multiple frames on the stack? That implies the method actually gets called twice right (unless one of them is a wrapper)?

@vaind
Copy link
Collaborator Author

vaind commented Feb 7, 2025

why the same method ends up with multiple frames on the stack

Not on the same stack.
On different samples, we get stacks with different code addresses at the top but they map to the same method, just different lines.

@vaind vaind merged commit bea672a into main Feb 7, 2025
23 checks passed
@vaind vaind deleted the feat/profling-improvements branch February 7, 2025 06:16
vaind added a commit that referenced this pull request Feb 12, 2025
@vaind vaind mentioned this pull request Feb 12, 2025
jamescrosswell added a commit that referenced this pull request Feb 13, 2025
* Revert "Skip flaky test (EventPipeSession_ReceivesExpectedCLREvents) (#3949)"

This reverts commit 50e5232.

* Revert "fix: net8 unknown stack trace methods for JIT methods (#3942)"

This reverts commit d197cb2.

* Revert "chore: profiling improvements (#3941)"

This reverts commit bea672a.

* chore: revert changelog

* Verify tests

* Windows verify tests

---------

Co-authored-by: James Crosswell <[email protected]>
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