Index: base/debug/trace_event.h |
diff --git a/base/debug/trace_event.h b/base/debug/trace_event.h |
index dbcea29e37a61280ecd97aa251fa12087d04fe21..44bf5fa537fe7867e701278a732e17d775d367c1 100644 |
--- a/base/debug/trace_event.h |
+++ b/base/debug/trace_event.h |
@@ -193,6 +193,7 @@ |
#include "base/atomicops.h" |
#include "base/debug/trace_event_impl.h" |
+#include "base/debug/trace_memory.h" //JAMESDEBUG |
#include "build/build_config.h" |
// By default, const char* argument values are assumed to have long-lived scope |
@@ -220,11 +221,14 @@ |
// - category and name strings must have application lifetime (statics or |
// literals). They may not include " chars. |
#define TRACE_EVENT0(category_group, name) \ |
+ TRACE_MEMORY(category_group, name) \ |
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name) |
#define TRACE_EVENT1(category_group, name, arg1_name, arg1_val) \ |
+ TRACE_MEMORY(category_group, name) \ |
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name, arg1_name, arg1_val) |
#define TRACE_EVENT2(category_group, name, arg1_name, arg1_val, arg2_name, \ |
arg2_val) \ |
+ TRACE_MEMORY(category_group, name) \ |
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name, arg1_name, arg1_val, \ |
arg2_name, arg2_val) |