Index: base/debug/trace_event_android.cc |
diff --git a/base/debug/trace_event_android.cc b/base/debug/trace_event_android.cc |
index 78d9de66747541906bdb585cde021534d34fb20f..cf32c3844442485ccbd48621c0663d1163f939bb 100644 |
--- a/base/debug/trace_event_android.cc |
+++ b/base/debug/trace_event_android.cc |
@@ -86,7 +86,7 @@ void TraceLog::StopATrace() { |
void TraceLog::SendToATrace( |
char phase, |
- const char* category_group, |
+ const unsigned char* category_group_enabled, |
const char* name, |
unsigned long long id, |
int num_args, |
@@ -98,6 +98,7 @@ void TraceLog::SendToATrace( |
if (g_atrace_fd == -1) |
return; |
+ const char* category_group = GetCategoryGroupName(category_group_enabled); |
dsinclair
2013/08/13 21:04:42
This seems unrelated, move to its own CL?
Xianzhu
2013/08/14 21:28:33
Done.
|
switch (phase) { |
case TRACE_EVENT_PHASE_BEGIN: |
WriteEvent('B', category_group, name, id, |