Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Unified Diff: base/trace_event/trace_log.h

Issue 2316403002: Fix races in trace events filtering. (Closed)
Patch Set: Clear filters on SetEnabled. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/trace_event/trace_log.h
diff --git a/base/trace_event/trace_log.h b/base/trace_event/trace_log.h
index 540d7d0bd3e0e06aa910b65cb2850ef08143cc62..3eb79b819f7883acd4147689e8fce68077bc4441 100644
--- a/base/trace_event/trace_log.h
+++ b/base/trace_event/trace_log.h
@@ -403,6 +403,8 @@ class BASE_EXPORT TraceLog : public MemoryDumpProvider {
void UpdateCategoryGroupEnabledFlags();
void UpdateCategoryGroupEnabledFlag(size_t category_index);
+ void CreateFiltersForTraceConfig();
+
// Configure synthetic delays based on the values set in the current
// trace config.
void UpdateSyntheticDelaysFromTraceConfig();

Powered by Google App Engine
This is Rietveld 408576698