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

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: Implement binding flow events to slices for PostTasks. 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..bd3e0402a030526ba52606f097e5b8faacb59076 100644
--- a/base/trace_event/trace_event_impl.h
+++ b/base/trace_event/trace_event_impl.h
@@ -121,7 +121,8 @@ class BASE_EXPORT TraceEvent {
const unsigned char* arg_types,
const unsigned long long* arg_values,
const scoped_refptr<ConvertableToTraceFormat>* convertable_values,
- unsigned int flags);
+ unsigned int flags,
+ unsigned long long bind_id);
dsinclair 2015/07/17 13:39:41 Move up below id.
void Reset();
@@ -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);
@@ -466,7 +468,8 @@ class BASE_EXPORT TraceLog : public MemoryDumpProvider {
const unsigned char* arg_types,
const unsigned long long* arg_values,
const scoped_refptr<ConvertableToTraceFormat>* convertable_values,
- unsigned int flags);
+ unsigned int flags,
+ unsigned long long bind_id);
dsinclair 2015/07/17 13:39:41 Move up below thread_id
static void AddTraceEventEtw(char phase,
const char* category_group,
const void* id,

Powered by Google App Engine
This is Rietveld 408576698