Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Madsen <amwebdk@gmail.com>2017-07-18 02:47:12 +0300
committerAndreas Madsen <amwebdk@gmail.com>2017-11-16 13:46:54 +0300
commitd217b2850efb9005819d55b697a37cbe5bd0003c (patch)
tree58177a7aa0d00ece9133ac6c2120e2adb940f527 /src/tracing
parented0327b8868cc3df981f81be6409586b97d06ac8 (diff)
async_hooks: add trace events to async_hooks
This will allow trace event to record timing information for all asynchronous operations that are observed by async_hooks. PR-URL: https://github.com/nodejs/node/pull/15538 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/tracing')
-rw-r--r--src/tracing/agent.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tracing/agent.cc b/src/tracing/agent.cc
index bc04b0b5e60..4514a0fce1f 100644
--- a/src/tracing/agent.cc
+++ b/src/tracing/agent.cc
@@ -36,6 +36,7 @@ void Agent::Start(const string& enabled_categories) {
} else {
trace_config->AddIncludedCategory("v8");
trace_config->AddIncludedCategory("node");
+ trace_config->AddIncludedCategory("node.async_hooks");
}
// This thread should be created *after* async handles are created