From 70dc1cefeaa509dc4b5e1c52d4e19c335465c0f7 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Thu, 20 Feb 2020 16:58:58 -0800 Subject: [PATCH] cli: --perf-prof only works on Linux PR-URL: https://github.com/nodejs/node/pull/31892 Reviewed-By: Matheus Marchini Reviewed-By: Gireesh Punathil --- doc/api/cli.md | 3 +++ test/parallel/test-cli-node-options.js | 11 +++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 6019c84bb0e..b1e26866d23 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1155,6 +1155,9 @@ V8 options that are allowed are: * `--stack-trace-limit` +`--perf-basic-prof-only-functions`, `--perf-basic-prof`, +`--perf-prof-unwinding-info`, and `--perf-prof` are only available on Linux. + ### `NODE_PATH=path[:…]`