Index: third_party/WebKit/Source/platform/TraceEventCommon.h |
diff --git a/third_party/WebKit/Source/platform/TraceEventCommon.h b/third_party/WebKit/Source/platform/TraceEventCommon.h |
index 95adddaa94f43f6cfbe28ccb05bb7bac2ff463b6..e9032c8afd01e677e7f09efec36ef55d16b57df2 100644 |
--- a/third_party/WebKit/Source/platform/TraceEventCommon.h |
+++ b/third_party/WebKit/Source/platform/TraceEventCommon.h |
@@ -748,16 +748,17 @@ |
TRACE_EVENT_FLAG_NONE, arg1_name, arg1_val, arg2_name, arg2_val) |
// Records a single NESTABLE_ASYNC_INSTANT event called "name" immediately, |
-// with one associated argument. If the category is not enabled, then this |
-// does nothing. |
+// with none, one or two associated argument. If the category is not enabled, |
+// then this does nothing. |
+#define TRACE_EVENT_NESTABLE_ASYNC_INSTANT0(category_group, name, id) \ |
oystein (OOO til 10th of July)
2016/09/09 00:30:24
Are you adding this because you'll use it, or beca
carlosk
2016/09/09 00:34:12
Yes. :)
I'm adding new tracing calls to MHTMLGene
|
+ INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_NESTABLE_ASYNC_INSTANT, \ |
+ category_group, name, id, \ |
+ TRACE_EVENT_FLAG_NONE) |
#define TRACE_EVENT_NESTABLE_ASYNC_INSTANT1(category_group, name, id, \ |
arg1_name, arg1_val) \ |
INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_NESTABLE_ASYNC_INSTANT, \ |
category_group, name, id, \ |
TRACE_EVENT_FLAG_NONE, arg1_name, arg1_val) |
-// Records a single NESTABLE_ASYNC_INSTANT event called "name" immediately, |
-// with 2 associated arguments. If the category is not enabled, then this |
-// does nothing. |
#define TRACE_EVENT_NESTABLE_ASYNC_INSTANT2( \ |
category_group, name, id, arg1_name, arg1_val, arg2_name, arg2_val) \ |
INTERNAL_TRACE_EVENT_ADD_WITH_ID( \ |
@@ -802,15 +803,6 @@ |
TRACE_EVENT_PHASE_NESTABLE_ASYNC_END, category_group, name, id, \ |
timestamp, TRACE_EVENT_FLAG_COPY) |
-// Records a single NESTABLE_ASYNC_INSTANT event called "name" immediately, |
-// with 2 associated arguments. If the category is not enabled, then this |
-// does nothing. |
-#define TRACE_EVENT_NESTABLE_ASYNC_INSTANT2( \ |
- category_group, name, id, arg1_name, arg1_val, arg2_name, arg2_val) \ |
- INTERNAL_TRACE_EVENT_ADD_WITH_ID( \ |
- TRACE_EVENT_PHASE_NESTABLE_ASYNC_INSTANT, category_group, name, id, \ |
- TRACE_EVENT_FLAG_NONE, arg1_name, arg1_val, arg2_name, arg2_val) |
- |
// Records a single FLOW_BEGIN event called "name" immediately, with 0, 1 or 2 |
// associated arguments. If the category is not enabled, then this |
// does nothing. |