| Index: base/debug/task_annotator.h
|
| diff --git a/base/debug/task_annotator.h b/base/debug/task_annotator.h
|
| index 2687c5c930ef0fbdfaf6d9c59bb1ffdd3af58d09..443c71bf30169ded3042c90d07343710b4cdab42 100644
|
| --- a/base/debug/task_annotator.h
|
| +++ b/base/debug/task_annotator.h
|
| @@ -39,6 +39,11 @@
|
| DISALLOW_COPY_AND_ASSIGN(TaskAnnotator);
|
| };
|
|
|
| +#define TRACE_TASK_EXECUTION(run_function, task) \
|
| + TRACE_EVENT2("toplevel", (run_function), "src_file", \
|
| + (task).posted_from.file_name(), "src_func", \
|
| + (task).posted_from.function_name());
|
| +
|
| } // namespace debug
|
| } // namespace base
|
|
|
|
|