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

Unified Diff: base/trace_event/trace_event_impl.h

Issue 1239593002: Implement a new flow event API that allows binding flow events and regular events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Always mangle id when the flag is set. Created 5 years, 5 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 a6e95f4152a039df5ac985ebad92423ef3a0a013..8f21b8ae5270699da909fce8274d55ac049bee93 100644
--- a/base/trace_event/trace_event_impl.h
+++ b/base/trace_event/trace_event_impl.h
@@ -116,6 +116,7 @@ class BASE_EXPORT TraceEvent {
const unsigned char* category_group_enabled,
const char* name,
unsigned long long id,
+ unsigned long long bind_id,
int num_args,
const char** arg_names,
const unsigned char* arg_types,
@@ -184,6 +185,7 @@ class BASE_EXPORT TraceEvent {
int thread_id_;
char phase_;
unsigned int flags_;
+ unsigned long long bind_id_;
unsigned char arg_types_[kTraceMaxNumArgs];
DISALLOW_COPY_AND_ASSIGN(TraceEvent);
@@ -460,6 +462,7 @@ class BASE_EXPORT TraceLog : public MemoryDumpProvider {
const char* name,
unsigned long long id,
int thread_id,
+ unsigned long long bind_id,
const TraceTicks& timestamp,
int num_args,
const char** arg_names,

Powered by Google App Engine
This is Rietveld 408576698