Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

[Release/3.1] Fixes for profiler stack sampling #27300

Merged
merged 2 commits into from
Oct 21, 2019

Conversation

davmason
Copy link
Member

Profilers often want to do stack sampling to do analysis of where an application is spending time. We have had the DoStackSnapshot API for a while, but since Linux/macos do not have a SuspendThread API like windows it was not possible to do sampling on non-windows platforms.

In 3.0 we released ICorProfilerInfo10::SuspendRuntime to address this limitation. @k15tfu found two issues that are blocking his Linux profiler from doing stack sampling:

This is a port of the fix for those two issues to 3.1.

@davmason davmason added this to the 3.1 milestone Oct 19, 2019
@davmason davmason requested a review from noahfalk October 19, 2019 06:39
@davmason davmason self-assigned this Oct 19, 2019
@davmason davmason changed the title [Releas/3.1] Fixes for profiler stack sampling [Release/3.1] Fixes for profiler stack sampling Oct 19, 2019
@MeiChin-Tsai
Copy link

approved for 3.1

@davmason davmason merged commit a43e0c2 into dotnet:release/3.1 Oct 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants