This PR makes it possible to dump a real-time session into a .etl file, or to start a trace that processes events from a .etl file.
As discussed in #7, I still feel there is too much coupling between our ferrisetw::Provider and their callbacks. That makes it not so trivial to add callbacks for a file trace (that has no "providers" in the ETW sense).
I finally turned CallbackData into an enum. This solution isn't perfect, but that is not-so-hacky, so I think this will do.
If you agree to merge this, you may also want to release a 1.1 version with this new feature.
Closes #7
This PR makes it possible to dump a real-time session into a
.etl
file, or to start a trace that processes events from a.etl
file.As discussed in #7, I still feel there is too much coupling between our
ferrisetw::Provider
and their callbacks. That makes it not so trivial to add callbacks for a file trace (that has no "providers" in the ETW sense). I finally turnedCallbackData
into an enum. This solution isn't perfect, but that is not-so-hacky, so I think this will do.If you agree to merge this, you may also want to release a 1.1 version with this new feature.