Skip to content

Commit

Permalink
Revert "FIXME: Comment out TRACE_EVENT_METADATA1 call" (nodejs#60)
Browse files Browse the repository at this point in the history
This reverts commit 19d1193.
  • Loading branch information
alexeykuzmin authored and codebytere committed Sep 19, 2018
1 parent 3a619a7 commit 98b280b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node_platform.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ using v8::Task;
using v8::TracingController;

static void BackgroundRunner(void *data) {
// TRACE_EVENT_METADATA1("__metadata", "thread_name", "name",
// "BackgroundTaskRunner");
TRACE_EVENT_METADATA1("__metadata", "thread_name", "name",
"BackgroundTaskRunner");
TaskQueue<Task> *background_tasks = static_cast<TaskQueue<Task> *>(data);
while (std::unique_ptr<Task> task = background_tasks->BlockingPop()) {
task->Run();
Expand Down

0 comments on commit 98b280b

Please sign in to comment.