-
Notifications
You must be signed in to change notification settings - Fork 351
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
Supports collecting GCSettingsEvent for gc-collect profile #4615
Conversation
7345568
to
ca5e5a2
Compare
src/Microsoft.Diagnostics.Monitoring.EventPipe/Configuration/AggregateSourceConfiguration.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsClient/DiagnosticsClient.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsClient/EventPipeSession.cs
Outdated
Show resolved
Hide resolved
As part of this change please also update the protocol doc stored here: https://github.com/dotnet/diagnostics/blob/main/documentation/design-docs/ipc-protocol.md |
src/Microsoft.Diagnostics.Monitoring.EventPipe/Configuration/AggregateSourceConfiguration.cs
Outdated
Show resolved
Hide resolved
fyi @dotnet/dotnet-monitor |
f773c70
to
f121bbe
Compare
Test results on Windows.
|
@noahfalk, can we take a look at this again? With the latest code, I should have addressed all the comments above. |
src/Microsoft.Diagnostics.Monitoring.EventPipe/Configuration/AggregateSourceConfiguration.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/EventPipeStreamProvider.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/Configuration/MonitoringSourceConfiguration.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/Configuration/MonitoringSourceConfiguration.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/Configuration/MonitoringSourceConfiguration.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/Configuration/AggregateSourceConfiguration.cs
Outdated
Show resolved
Hide resolved
@dotnet/dotnet-monitor you probably want to take a look at this |
c87a96d
to
af9d7a6
Compare
@noahfalk, here is the third iteration with all the comments addressed again. |
src/Microsoft.Diagnostics.Monitoring.EventPipe/Configuration/AggregateSourceConfiguration.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/Configuration/MetricSourceConfiguration.cs
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/EventPipeStreamProvider.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/EventPipeStreamProvider.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/EventPipeStreamProvider.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/Configuration/GcCollectConfiguration.cs
Show resolved
Hide resolved
85d057c
to
65fda18
Compare
src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsClient/EventPipeSession.cs
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/EventPipeStreamProvider.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Noah Falk <noahfalk@users.noreply.github.com>
65fda18
to
d680c3d
Compare
src/Microsoft.Diagnostics.Monitoring.EventPipe/EventPipeStreamProvider.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/EventPipeStreamProvider.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsClient/EventPipeSession.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsClient/EventPipeSession.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsClient/EventPipeSessionConfiguration.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.Monitoring.EventPipe/EventPipeStreamProvider.cs
Outdated
Show resolved
Hide resolved
c03f6e6
to
76fa4a4
Compare
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.
Modulo a couple small issues, this LGTM
src/Microsoft.Diagnostics.Monitoring.EventPipe/EventPipeStreamProvider.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsClient/EventPipeSession.cs
Show resolved
Hide resolved
src/Microsoft.Diagnostics.NETCore.Client/DiagnosticsClient/EventPipeSessionConfiguration.cs
Outdated
Show resolved
Hide resolved
d7908fe
to
724ed19
Compare
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.
👍
- Update Alpine versions (#4589) - Followup 1ES template changes (#4596) - Fix Test Results tab in github UI (#4607) - Move the symstore repo to diagnostics (#4603) - Fix recent Alpine repo build (#4612) - Fix issue #4611 - Switch to cross build for Alpine (#4621) - Add waithandle to --clrevents option (#4624) - Fix SOS unit tests dump generation fixture (#4636) - Fix CONTRACT return type (#4649) - [SymbolStore] Add support to index .NET Framework Runtime debugging modules (#4616) - [test][SOS] Disable OtherCommands Dumpmt test on Alpine (#4656) - Supports collecting GCSettingsEvent for gc-collect profile (#4615) - Update ipc-protocol.md (#4658) - Fixing a case where we should set the RundownKeyword (#4662) - Fix versioning of symstore ported assets (#4670) - Add ubuntu 22.04 testing. Update 6,7 and 8 runtime versions (#4676) - Update locker action version to update node version (#4682) - Use managed identity for blob upload of release assets (#4680) - Remove the symweb symbol server support (#4694) - [RISC-V] Add gcinfodumper implementation. (#4703) - Fix `pathto` SOS command. (#4706) - Add support for new exception trace storage format (#4635) - Change SOS breaking change from warning to error; better dotnet-dump target errors (#4713) - [Symbol] Add manifest generator (#4693) - Remove references to obsolete storage account variables (#4719) - Update DIA to 17.10.0-beta1.24272.1 (#4683) - Reenable SDL requirements (#4722) --------- Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Rich Lander <rlander@microsoft.com> Co-authored-by: Mike McLaughlin <mikem@microsoft.com> Co-authored-by: Jan Vorlicek <janvorli@microsoft.com> Co-authored-by: Grégoire <gregoire.verdier@gmail.com> Co-authored-by: Tom McDonald <tommcdon@microsoft.com> Co-authored-by: Mitchell Hwang <16830051+mdh1418@users.noreply.github.com> Co-authored-by: Andrew Au <andrewau@microsoft.com> Co-authored-by: Noah Falk <noahfalk@users.noreply.github.com> Co-authored-by: Mikhail Kurinnoi <m.kurinnoi@samsung.com> Co-authored-by: Matt Mitchell <mmitche@microsoft.com>
This change supports collecting GCSettingsEvent for gc-collect profile. The change will work for both dotnet-trace and dotnet-monitor.
The depends on the underlying mechanism built in dotnet/runtime#101189