Index: base/trace_event/trace_event.h |
diff --git a/base/trace_event/trace_event.h b/base/trace_event/trace_event.h |
index c41ca1e56bccb095aa8902b5b65bd3e2ec707d5e..07018b93e0799c1e9134d694ae170961f5303919 100644 |
--- a/base/trace_event/trace_event.h |
+++ b/base/trace_event/trace_event.h |
@@ -888,6 +888,14 @@ |
category_group, name, TRACE_ID_DONT_MANGLE(id), TRACE_EVENT_FLAG_NONE,\ |
"snapshot", snapshot) |
+#define TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID_AND_TIMESTAMP( \ |
+ category_group, name, id, timestamp, snapshot) \ |
+ INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( \ |
+ TRACE_EVENT_PHASE_SNAPSHOT_OBJECT, category_group, name, \ |
+ TRACE_ID_DONT_MANGLE(id), \ |
+ static_cast<int>(base::PlatformThread::CurrentId()), timestamp, \ |
+ TRACE_EVENT_FLAG_NONE, "snapshot", snapshot) |
+ |
#define TRACE_EVENT_OBJECT_DELETED_WITH_ID(category_group, name, id) \ |
INTERNAL_TRACE_EVENT_ADD_WITH_ID(TRACE_EVENT_PHASE_DELETE_OBJECT, \ |
category_group, name, TRACE_ID_DONT_MANGLE(id), TRACE_EVENT_FLAG_NONE) |