Skip to content

add support for EventPipe tracing/logging  #1531

Open
@wfurt

Description

@wfurt

Describe the feature you'd like supported

Currently MsQuic can be configured to support ETW on Windows or lltng on Linux. This is somewhat difficult to integrate with application debugging and there is no real story for other OSes.

Proposed solution

.NET code uses platform independent EventPipe format. That can be processed by tools like PerfView, using scripted api as well as there are tools to convert to other format.

With the current setup it is quite difficult IMHO to integrate MsQUIC tracing with .NET eco system.
As minimum, perhaps MsQuic can expose function pointer to emit tracing message and some API to control the content.
With that, System.Net.Quic can use it and inject EvenPipe logs as needed (and control verbosity or whatever else)

Additional context

The actual work may be in clog but .NET does not consume that directly so I wrote ask for msquic API surface.

Being able to capture traces and emit them in specific format may be also useful for other languages like Java. (log4j?)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Should be written

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions