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

Unified Diff: Source/platform/EventTracer.cpp

Issue 1347113004: Tracing flow events v2 in Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: Source/platform/EventTracer.cpp
diff --git a/Source/platform/EventTracer.cpp b/Source/platform/EventTracer.cpp
index 2185bda88243811e447ad327df31fc487476d786..d9c77b75035dcd43e40fe60f72f1fc50e0224542 100644
--- a/Source/platform/EventTracer.cpp
+++ b/Source/platform/EventTracer.cpp
@@ -76,7 +76,7 @@ const unsigned char* EventTracer::getTraceCategoryEnabledFlag(const char* catego
}
TraceEvent::TraceEventHandle EventTracer::addTraceEvent(char phase, const unsigned char* categoryEnabledFlag,
- const char* name, unsigned long long id, double timestamp,
+ const char* name, unsigned long long id, unsigned long long bindId, double timestamp,
int numArgs, const char* argNames[], const unsigned char argTypes[],
const unsigned long long argValues[],
PassRefPtr<TraceEvent::ConvertableToTraceFormat> convertableValue1,
@@ -86,15 +86,15 @@ TraceEvent::TraceEventHandle EventTracer::addTraceEvent(char phase, const unsign
WebConvertableToTraceFormat webConvertableValues[2];
webConvertableValues[0] = WebConvertableToTraceFormat(convertableValue1);
webConvertableValues[1] = WebConvertableToTraceFormat(convertableValue2);
- return Platform::current()->addTraceEvent(phase, categoryEnabledFlag, name, id, timestamp, numArgs, argNames, argTypes, argValues, webConvertableValues, flags);
+ return Platform::current()->addTraceEvent(phase, categoryEnabledFlag, name, id, bindId, timestamp, numArgs, argNames, argTypes, argValues, webConvertableValues, flags);
}
TraceEvent::TraceEventHandle EventTracer::addTraceEvent(char phase, const unsigned char* categoryEnabledFlag,
- const char* name, unsigned long long id, double timestamp,
+ const char* name, unsigned long long id, unsigned long long bindId, double timestamp,
int numArgs, const char** argNames, const unsigned char* argTypes,
const unsigned long long* argValues, unsigned char flags)
{
- return Platform::current()->addTraceEvent(phase, categoryEnabledFlag, name, id, timestamp, numArgs, argNames, argTypes, argValues, 0, flags);
+ return Platform::current()->addTraceEvent(phase, categoryEnabledFlag, name, id, bindId, timestamp, numArgs, argNames, argTypes, argValues, 0, flags);
}
void EventTracer::updateTraceEventDuration(const unsigned char* categoryEnabledFlag, const char* name, TraceEvent::TraceEventHandle handle)

Powered by Google App Engine
This is Rietveld 408576698