Skip to content

Commit 3be8293

Browse files
authored
Don't capture async IDs for the time being (#195)
1 parent 601d2a1 commit 3be8293

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bindings/profilers/wall.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,9 @@ void SignalHandler::HandleProfilerSignal(int sig,
321321
auto time_from = Now();
322322
old_handler(sig, info, context);
323323
auto time_to = Now();
324-
int64_t async_id =
325-
static_cast<int64_t>(node::AsyncHooksGetExecutionAsyncId(isolate));
324+
int64_t async_id = -1;
325+
// don't capture for now until we work out the issues with GC and thread start
326+
// static_cast<int64_t>(node::AsyncHooksGetExecutionAsyncId(isolate));
326327
prof->PushContext(time_from, time_to, cpu_time, async_id);
327328
}
328329
#else

0 commit comments

Comments
 (0)