Open
Description
PredefinedDynamicTraceEventParser
should support dynamic events from EventPipeEventSource
as well as ETWTraceEventSource
.
I believe this can be done in the following way:
- Update
OnUnhandledEvent
to look atdata.Source
and handleEventPipeEventSource
differently thanEtwTraceEventSource
. EventPipeEventSource
should look atdata.eventRecord
and use that to figure out what event we're dealing, get the template, and register it by callingsource.RegisterEventTemplate
andOnNewEventDefinition
.
Don't change any of the existing implementations of TraceEventParser
. We'll do this after we get the implementation of PredefinedDynamicTraceEventParser
close enough.
Metadata
Metadata
Assignees
Labels
No labels