Skip to content

Native AOT Diagnostics in .NET 8 #79241

Closed

Description

@LakshanF

Goal: Full Diagnostic Capability in NativeAOT Applications

  • Logging
    • EventSource
      • Runtime library EventSource need to work
      • EventSource events can be read from Windows and Linux platforms
      • Create a plan for general EventSource to work (cut from .NET8). New APIs added in .NET8 to enable primitive payloads to be AOT compliant
    • DiagnosticSource can be used for in-proc logging (no serialization) and as out-proc (with serialization) via the EventSource bridge for Runtime libraries
    • ETW Events
      • GC, Contention, Exception, Heap Snapshot (cut from .NET8), Rundown (cut from .NET8)
  • Diagnostic tool support
    • Following dotnet-* tools need to work
      • dotnet-trace, dotnet-counter, dotnet-monitor
  • Open telemetry Plan
  • Debugging support

Work that is needed in .NET 8 to make the above happen

Potential other improvements:

Activity

  1. added this to the 8.0.0 milestone on Dec 5, 2022
  2. self-assigned this
    on Dec 5, 2022
  3. added
    User StoryA single user-facing feature. Can be grouped under an epic.
    on Dec 5, 2022
  4. agocke commented on Aug 10, 2023

    @agocke
    Member

    Closing out, as work is done for .NET 8

  5. filipnavara commented on Aug 10, 2023

    @filipnavara
    Member

    Heap Snapshot (cut from .NET8), Rundown (cut from .NET8)

    Is there a new issue to follow for these?

  6. ghost locked as resolved and limited conversation to collaborators on Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions