| Index: ppapi/api/dev/ppb_trace_event_dev.idl
|
| diff --git a/ppapi/api/dev/ppb_trace_event_dev.idl b/ppapi/api/dev/ppb_trace_event_dev.idl
|
| index ff01dea32859d6a62fa476a5b4b4b31d6a3556f5..bbe41d9973a7002274fd287f3a7da899a74cb1da 100644
|
| --- a/ppapi/api/dev/ppb_trace_event_dev.idl
|
| +++ b/ppapi/api/dev/ppb_trace_event_dev.idl
|
| @@ -9,7 +9,8 @@
|
| */
|
|
|
| label Chrome {
|
| - M25 = 0.1
|
| + M25 = 0.1,
|
| + M29 = 0.2
|
| };
|
|
|
| interface PPB_Trace_Event_Dev {
|
| @@ -43,6 +44,27 @@ interface PPB_Trace_Event_Dev {
|
| [in] uint8_t flags);
|
|
|
| /**
|
| + * Adds a trace event to the platform tracing system. This function call is
|
| + * usually the result of a TRACE_* macro from trace_event.h when tracing and
|
| + * the category of the particular trace are enabled. It is not advisable to
|
| + * call this function on its own; it is really only meant to be used by the
|
| + * trace macros.
|
| + */
|
| + [version=0.2]
|
| + void AddTraceEventWithThreadIdAndTimestamp(
|
| + [in] int8_t phase,
|
| + [in] mem_t category_enabled,
|
| + [in] cstr_t name,
|
| + [in] uint64_t id,
|
| + [in] int32_t thread_id,
|
| + [in] int64_t timestamp,
|
| + [in] uint32_t num_args,
|
| + [in, size_as=num_args] str_t[] arg_names,
|
| + [in, size_as=num_args] uint8_t[] arg_types,
|
| + [in, size_as=num_args] uint64_t[] arg_values,
|
| + [in] uint8_t flags);
|
| +
|
| + /**
|
| * Sets the thread name of the calling thread in the tracing system so it will
|
| * show up properly in chrome://tracing.
|
| */
|
|
|