Skip to content

Conversation

@davmason
Copy link
Contributor

As discussed in dotnet/runtime#74476, we need to add more information to the GetProcessInfo2 IPC command. Rather than introducing another rigid contract, we should have a key/value system that allows us to return more data in the future without a new command.

The IPC protocol is very limited and only understands native types. Although we have first class support for arrays of types and serializing nested objects in the EventPipe format, we do not have that here. To keep things as simple as possible this IPC command will return keys and values as strings, this will lead to some parsing on the client side but the performance impact is worth the trade off for ease of implementation.

@davmason davmason requested a review from a team as a code owner October 20, 2022 09:44
Copy link
Member

@noahfalk noahfalk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

davmason pushed a commit that referenced this pull request Jun 30, 2023
Implement the ProcessInfo3 command as described in #3476

Corresponding runtime change:
dotnet/runtime#87707
@tommcdon
Copy link
Member

@davmason GetProcessInfo3 product changes are completed - is this PR ready to merge?

davmason and others added 2 commits September 1, 2023 01:32
@davmason davmason merged commit 3357ebf into dotnet:main Sep 1, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants