Index: base/threading/worker_pool_posix.cc |
diff --git a/base/threading/worker_pool_posix.cc b/base/threading/worker_pool_posix.cc |
index dcebe0ab7d2fb704d118a6f797a272ef6c1c0aeb..53ae4e69627807b209618834104fecf70ed65fc9 100644 |
--- a/base/threading/worker_pool_posix.cc |
+++ b/base/threading/worker_pool_posix.cc |
@@ -86,7 +86,9 @@ |
PendingTask pending_task = pool_->WaitForTask(); |
if (pending_task.task.is_null()) |
break; |
- TRACE_TASK_EXECUTION("WorkerThread::ThreadMain::Run", pending_task); |
+ TRACE_EVENT2("toplevel", "WorkerThread::ThreadMain::Run", |
+ "src_file", pending_task.posted_from.file_name(), |
+ "src_func", pending_task.posted_from.function_name()); |
tracked_objects::TaskStopwatch stopwatch; |
stopwatch.Start(); |