| Index: base/trace_event/trace_event.h
|
| diff --git a/base/trace_event/trace_event.h b/base/trace_event/trace_event.h
|
| index e0249f5539a181175127ba4df1cc7fc489328f44..9511f80153950d2124ec82ac1306b8c96ce90319 100644
|
| --- a/base/trace_event/trace_event.h
|
| +++ b/base/trace_event/trace_event.h
|
| @@ -702,15 +702,31 @@
|
| // NESTABLE_ASYNC event of that id. Corresponding warning messages for
|
| // unmatched events will be shown in the analysis view.
|
|
|
| -// Records a single NESTABLE_ASYNC_BEGIN event called "name" immediately, with 2
|
| -// associated arguments. If the category is not enabled, then this does nothing.
|
| +// Records a single NESTABLE_ASYNC_BEGIN event called "name" immediately, with 1
|
| +// or 2 associated arguments. If the category is not enabled, then this does
|
| +// nothing.
|
| +#define TRACE_EVENT_NESTABLE_ASYNC_BEGIN0(category_group, name, id) \
|
| + INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_NESTABLE_ASYNC_BEGIN, \
|
| + category_group, name, id, TRACE_EVENT_FLAG_NONE)
|
| +#define TRACE_EVENT_NESTABLE_ASYNC_BEGIN1(category_group, name, id, arg1_name, \
|
| + arg1_val) \
|
| + INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_NESTABLE_ASYNC_BEGIN, \
|
| + category_group, name, id, TRACE_EVENT_FLAG_NONE, arg1_name, arg1_val)
|
| #define TRACE_EVENT_NESTABLE_ASYNC_BEGIN2(category_group, name, id, arg1_name, \
|
| arg1_val, arg2_name, arg2_val) \
|
| INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_NESTABLE_ASYNC_BEGIN, \
|
| category_group, name, id, TRACE_EVENT_FLAG_NONE, arg1_name, arg1_val, \
|
| arg2_name, arg2_val)
|
| -// Records a single NESTABLE_ASYNC_END event called "name" immediately, with 2
|
| -// associated arguments. If the category is not enabled, then this does nothing.
|
| +// Records a single NESTABLE_ASYNC_END event called "name" immediately, with 1
|
| +// or 2 associated arguments. If the category is not enabled, then this does
|
| +// nothing.
|
| +#define TRACE_EVENT_NESTABLE_ASYNC_END0(category_group, name, id) \
|
| + INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_NESTABLE_ASYNC_END, \
|
| + category_group, name, id, TRACE_EVENT_FLAG_NONE)
|
| +#define TRACE_EVENT_NESTABLE_ASYNC_END1(category_group, name, id, arg1_name, \
|
| + arg1_val) \
|
| + INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_NESTABLE_ASYNC_END, \
|
| + category_group, name, id, TRACE_EVENT_FLAG_NONE, arg1_name, arg1_val)
|
| #define TRACE_EVENT_NESTABLE_ASYNC_END2(category_group, name, id, arg1_name, \
|
| arg1_val, arg2_name, arg2_val) \
|
| INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_NESTABLE_ASYNC_END, \
|
|
|