-
Notifications
You must be signed in to change notification settings - Fork 695
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
Create TraceLog (ETLX) without writing to file #1829
Comments
19 tasks
12 tasks
@brianrob This would really help us doing profiling for .NET in-proc for production apps |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have an
EventPipe
data capture as aMemoryStream
.I'm able to create an
EventPipeEventSource
albeit only via the private constructor by settingisStreaming=false
(otherwise passing this to TraceLog for conversion fails), but let's not dwelve on this for now:I'm then able to use
TraceLog.CreateFromEventPipeEventSources()
However, I don't want to write the .etlx to a file only to read it again in order to work with the
TraceLog
instance. Instead, I'd like to initialize theTraceLog
directly from theEventPipeEventSource
, letting it do the conversion and ending up with a usable instance. Is this somehow possible with existing APIs? If not, what part would be reasonable to change to make this work?The text was updated successfully, but these errors were encountered: