diff options
author | Andreas Madsen <amwebdk@gmail.com> | 2017-10-19 13:43:40 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2017-10-24 00:18:17 +0300 |
commit | c9715bb9c2754b2978f870bbd814edb0c29b67c7 (patch) | |
tree | 01fbbaabc1024aab2da1e2e9b4119ad4aa07affd /doc | |
parent | 49a41d9739834e0f496d5c4c404209556d0a7d65 (diff) |
async_hooks: skip runtime checks when disabled
PR-URL: https://github.com/nodejs/node/pull/15454
Ref: https://github.com/nodejs/node/pull/14387
Ref: https://github.com/nodejs/node/pull/14722
Ref: https://github.com/nodejs/node/issues/14717
Ref: https://github.com/nodejs/node/issues/15448
Reviewed-By: Refael Ackermann <refack@gmail.com>
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 'doc')
-rw-r--r-- | doc/api/cli.md | 8 | ||||
-rw-r--r-- | doc/node.1 | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index e28614111cf..46026e3fe27 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -215,6 +215,14 @@ added: v2.1.0 Prints a stack trace whenever synchronous I/O is detected after the first turn of the event loop. +### `--force-async-hooks-checks` +<!-- YAML +added: REPLACEME +--> + +Enables runtime checks for `async_hooks`. These can also be enabled dynamically +by enabling one of the `async_hooks` hooks. + ### `--trace-events-enabled` <!-- YAML added: v7.7.0 diff --git a/doc/node.1 b/doc/node.1 index 80fe1c6ab95..27357c2a6b7 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -153,6 +153,11 @@ Print a stack trace whenever synchronous I/O is detected after the first turn of the event loop. .TP +.BR \-\-force\-async\-hooks\-checks +Enables runtime checks for `async_hooks`. These can also be enabled dynamically +by enabling one of the `async_hooks` hooks. + +.TP .BR \-\-trace\-events\-enabled Enables the collection of trace event tracing information. |