Chromium Code Reviews| Index: base/debug/task_annotator.cc |
| diff --git a/base/debug/task_annotator.cc b/base/debug/task_annotator.cc |
| index 3591fd6c80fc19016b4ed195233222fbc9c70808..3199c906d8bda9598e67a252d962e6fd2ada24ea 100644 |
| --- a/base/debug/task_annotator.cc |
| +++ b/base/debug/task_annotator.cc |
| @@ -44,12 +44,9 @@ void TaskAnnotator::RunTask(const char* queue_function, |
| // memory allocations to the source function than generically to the task |
| // runner. |
| TRACE_EVENT_WITH_MEMORY_TAG2( |
| - "toplevel", |
| - run_function, |
| + "toplevel", pending_task.posted_from.function_name(), |
|
Sami
2015/02/27 18:22:33
Wanna pull this out to a separate patch? We may wa
|
| pending_task.posted_from.function_name(), // Name for memory tracking. |
| - "src_file", |
| - pending_task.posted_from.file_name(), |
| - "src_func", |
| + "src_file", pending_task.posted_from.file_name(), "src_func", |
| pending_task.posted_from.function_name()); |
| // Before running the task, store the program counter where it was posted |