microsoft / krabsetw

KrabsETW provides a modern C++ wrapper and a .NET wrapper around the low-level ETW trace consumption functions.
Other
588 stars 147 forks source link

Add trace::set_trace_information method #181

Closed pierricgimmig closed 2 years ago

pierricgimmig commented 2 years ago

Some providers need to be configured through ETW's TraceSetInformation function which we wrap inside trace::set_trace_information to maintain encapsulation of the trace handle.

Tests: Setup sampling profiling. All tests pass.

See discussion in #171

swannman commented 2 years ago

This change will be included in the 4.2.1 nuget version which I am publishing today.

pierricgimmig commented 2 years ago

This change will be included in the 4.2.1 nuget version which I am publishing today.

Awesome, thanks a lot for your help, @swannman !