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

Light up python profiling in the VS Performance Profiler #8080

Open
AdamYoblick opened this issue Nov 21, 2024 · 0 comments
Open

Light up python profiling in the VS Performance Profiler #8080

AdamYoblick opened this issue Nov 21, 2024 · 0 comments
Assignees

Comments

@AdamYoblick
Copy link
Member

AdamYoblick commented Nov 21, 2024

Notes from the VS team:

Here is some info on how to show up in the Performance Profiler (Alt+F2) UI.

Grab our SDK package (Package Details - Azure Artifacts (visualstudio.com)) then export an ITargetProvider.

This package will need to be added as a build dependency in our packages.config. Adam will handle this in a previous task.

ITargetProvider: Anything that implements this interface shows up in that “select target” dropdown.

ProcessTargetProvider.cs - Repos (visualstudio.com)  This is the one for our attach to process selection
DockerTargetProvider.cs - Repos (visualstudio.com)
RunningWindowsStoreAppTargetProvider.cs - Repos (visualstudio.com)
WindowsStoreAppTargetProvider.cs - Repos (visualstudio.com)
The main method where the action happens is GetTargetsAsync which returns the ITarget that the profiler uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants