diff --git a/src/Commands.cpp b/src/Commands.cpp index bf1d394..4d93c07 100644 --- a/src/Commands.cpp +++ b/src/Commands.cpp @@ -247,6 +247,8 @@ HRESULT DoStart(const std::wstring& sessionName, bool cpuSampling, VerbosityLeve { TRACING_SESSION_OPTIONS options{}; + options.SystemEventFlags |= TRACING_SESSION_SYSTEM_EVENT_FLAGS_CONTEXT; + switch (verbosityLevel) { case VerbosityLevel::VERBOSE: