From 2cf4f6e6b6e03e1d11680ce61c29f6f435906dd4 Mon Sep 17 00:00:00 2001 From: Helena Gregg Date: Wed, 16 Jun 2021 12:14:34 -0700 Subject: [PATCH] Revert "Remove" This reverts commit cb4ae8be3ac1c302abff655b03690b6c716316b4. --- src/Commands.cpp | 2 ++ 1 file changed, 2 insertions(+) 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: