Skip to content

Conversation

@mikelle-rogers
Copy link
Member

fixes #56143

@mikelle-rogers mikelle-rogers added this to the 7.0.0 milestone Feb 18, 2022
@mikelle-rogers mikelle-rogers self-assigned this Feb 18, 2022
@ghost
Copy link

ghost commented Feb 18, 2022

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

Issue Details

fixes #56143

Author: mikelle-rogers
Assignees: mikelle-rogers
Labels:

area-System.Diagnostics

Milestone: 7.0.0

@mikelle-rogers mikelle-rogers marked this pull request as ready for review March 2, 2022 19:44
Copy link
Contributor

@davmason davmason 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 davmason closed this Apr 4, 2022
@davmason davmason reopened this Apr 4, 2022
@mikelle-rogers mikelle-rogers force-pushed the dev/mirogers/EventSource-ProcessCount branch from cd0a8c6 to cf0db13 Compare April 28, 2022 20:04
Copy link
Contributor

@josalem josalem left a comment

Choose a reason for hiding this comment

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

Could we add a test for this event?

e.g., Assert.Equal(Environment.ProcessorCount, countFromEvent);

@mikelle-rogers mikelle-rogers requested a review from davmason May 18, 2022 23:18
@tommcdon
Copy link
Member

Adding @brianrob in case TraceEvent changes are needed.

@brianrob
Copy link
Member

@tommcdon, thanks for including me here. This doesn't require a change to TraceEvent because we don't have a parser for this provider - it is emitted via the standard EventSource mechanism.

This does bring up a question for me. Historically, if I understand correctly, this source was used exclusively for event counters. I see that now the source also logs app context switches, and now the processor count. How should I think about the split between this provider and the Microsoft-Windows-DotNetRuntime provider?

@mikelle-rogers mikelle-rogers merged commit 84b2320 into dotnet:main Jun 29, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jul 29, 2022
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.

[Feature Request]: Diagnostics for processor count

7 participants