-
Notifications
You must be signed in to change notification settings - Fork 5.2k
GetProcessInfo3 diagnostic command #87707
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
Conversation
|
Tagging subscribers to this area: @tommcdon Issue DetailsAdd the GetProcessInfo3 command to the diagnostic server. This allows for retrieving the portable runtime identifier which informs diagnostic tools which variants of native libraries may be loaded into the target process. The portable runtime identifier is statically calculated at compile time based on the build target information for the libraries that link in the diagnostic server.
|
|
/azp run |
|
Commenter does not have sufficient privileges for PR 87707 in repo dotnet/runtime |
|
/azp run |
|
Could I get a new build ("/azp run") for the current set of changes? Seems some Azure service hiccupped while this one was starting. |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
|
/azp run runtime |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
With the prior change, all jobs and tests were green except one where the new test was erroneously included. That was fixed in the latest commit. With that, I think this is ready for review. |
|
@tommcdon could I get someone from diagnostics to review this? |
davmason
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I want to give @lateralusX a chance to look before mergin
Implement the ProcessInfo3 command as described in #3476 Corresponding runtime change: dotnet/runtime#87707
|
Sorry, was out on vacation but changes LGTM! One thought I had is that the portable rid will not be as specific as the OS where Mono will give you different identifiers for |
|
The intent of this portable RID is to provide a mechanism to differentiate the C library types (e.g. gnu, musl, bionic for Linux) for the target without having to know the specifics of the target so that native libraries with a portable notion could be loaded and executed in the target process; portable meaning not taking a hard dependency on specific distribution or version. We could have reported the literal C library type instead, but then we'd have to make up monikers or completely ignore other targets. Additionally, there seems to be support via library systems (e.g. NuGet) for providing libraries using this generic portable RID notion. That being said, if something that is targeting a maccatalyst target needs to build a native library that is more specific than |
Add the GetProcessInfo3 command to the diagnostic server. This allows for retrieving the portable runtime identifier which informs diagnostic tools which variants of native libraries may be loaded into the target process. The portable runtime identifier is statically calculated at compile time based on the build target information for the libraries that link in the diagnostic server.
Corresponding diagnostics change: dotnet/diagnostics#3985
closes #74476