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

Unified Diff: base/debug/trace_event.cc

Issue 8368003: Make AddTraceEventETW duplicate its name argument. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event.cc
diff --git a/base/debug/trace_event.cc b/base/debug/trace_event.cc
index 347644f982ef3a4f3cd260b55a8b452e5217db3e..107e599a79dcb7d031024e826a8781a9cdbb4229 100644
--- a/base/debug/trace_event.cc
+++ b/base/debug/trace_event.cc
@@ -526,7 +526,7 @@ void TraceLog::AddTraceEventEtw(TraceEventPhase phase,
#endif
INTERNAL_TRACE_EVENT_ADD(phase,
"ETW Trace Event", name, "id", id, "extra", TRACE_STR_COPY(extra),
- base::debug::TraceLog::EVENT_FLAG_NONE);
+ base::debug::TraceLog::EVENT_FLAG_COPY);
}
void TraceLog::AddTraceEventEtw(TraceEventPhase phase,
@@ -539,7 +539,7 @@ void TraceLog::AddTraceEventEtw(TraceEventPhase phase,
#endif
INTERNAL_TRACE_EVENT_ADD(phase,
"ETW Trace Event", name, "id", id, "extra", extra,
- base::debug::TraceLog::EVENT_FLAG_NONE);
+ base::debug::TraceLog::EVENT_FLAG_COPY);
}
void TraceLog::AddCurrentMetadataEvents() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698