async-hooks: add trace events to AsyncWrap
rebase of https://github.com/nodejs/node/pull/14347 This is for debugging purposes, I'm getting a segmentation fault when running just node
, but with trace_events
enables it works. @matthewloring doesn't get the segmentation fault, so I'm running the CI on this PR to check it out.
This will allow trace event to record timing information for all asynchronous operations that are observed by AsyncWrap.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
async_hooks, trace_events