Skip to content

Missing StartupFlags in Runtime/Start event #52042

@kkokosa

Description

@kkokosa

/Runtime/Start event contains StartupFlags field, informing on various attributes provided to host. They were very useful, for example in PerfView analysis - showed in GCStats CLR Startup Flags view. It was a super convenient way to check GC mode, with the help of CONCURRENT_GC/SERVER_GC values. Especially when analysis of sessions recorded on external, not fully controlled environments (like customer support etc.). These flags are reported in .NET Framework apps, but are not used in .NET Core/.NET 5.

I wonder how we can return to informing about GC modes in the recorded session? Do we need a new dedicated "GC settings" event for that (taking the opportunity to add something more than GC mode)? I've created an issue on PerfView side too, but apparently, we need runtime support for that. Or maybe I'm missing something and we can get this info from a trace?

Metadata

Metadata

Assignees

Labels

area-Tracing-coreclrenhancementProduct code improvement that does NOT require public API changes/additionsquestionAnswer questions and provide assistance, not an issue with source code or documentation.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions