Index: src/core/SkTraceEventCommon.h |
diff --git a/src/core/SkTraceEventCommon.h b/src/core/SkTraceEventCommon.h |
index aa5a4935362686ede2f1c1935fb9448fbb7663a9..57f67775e8057e65b0acd3c03004d6e8f9a6c58f 100644 |
--- a/src/core/SkTraceEventCommon.h |
+++ b/src/core/SkTraceEventCommon.h |
@@ -745,16 +745,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) \ |
+ 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( \ |