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

Unified Diff: base/trace_event/trace_event_impl.h

Issue 994133002: Generate globally (cross-process) unique IDs for memory tracing dumps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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_event_impl.h
diff --git a/base/trace_event/trace_event_impl.h b/base/trace_event/trace_event_impl.h
index efa20c4ff85ff57b3b6c52b22247cfb136392fe6..bbc9d4e5928ba8f174991e0658718e568456e499 100644
--- a/base/trace_event/trace_event_impl.h
+++ b/base/trace_event/trace_event_impl.h
@@ -602,6 +602,8 @@ class BASE_EXPORT TraceLog {
int process_id() const { return process_id_; }
+ uint64 HashEventId(uint64 id);
Primiano Tucci (use gerrit) 2015/04/13 22:13:58 I think this should be called MangleEventId, but I
dsinclair 2015/04/14 13:42:46 +1 we use mangle in other places in the trace even
+
// Exposed for unittesting:
void WaitSamplingEventForTesting();

Powered by Google App Engine
This is Rietveld 408576698