diff options
Diffstat (limited to 'base/trace_event/trace_event_impl.cc')
-rw-r--r-- | base/trace_event/trace_event_impl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/trace_event/trace_event_impl.cc b/base/trace_event/trace_event_impl.cc index 3925710..1fc2256 100644 --- a/base/trace_event/trace_event_impl.cc +++ b/base/trace_event/trace_event_impl.cc @@ -1381,8 +1381,10 @@ void TraceLog::UpdateCategoryGroupEnabledFlag(size_t category_index) { event_callback_trace_config_.IsCategoryGroupEnabled(category_group)) enabled_flag |= ENABLED_FOR_EVENT_CALLBACK; #if defined(OS_WIN) - if (base::trace_event::TraceEventETWExport::isETWExportEnabled()) + if (base::trace_event::TraceEventETWExport::IsCategoryGroupEnabled( + category_group)) { enabled_flag |= ENABLED_FOR_ETW_EXPORT; + } #endif g_category_group_enabled[category_index] = enabled_flag; |