src: allow --perf-prof-unwinding-info in NODE_OPTIONS · nodejs/node@c72c4b0 · GitHub
Skip to content

Commit c72c4b0

Browse files
tomgcoaddaleax
authored andcommitted
src: allow --perf-prof-unwinding-info in NODE_OPTIONS
PR-URL: #25565 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent e6a2548 commit c72c4b0

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

doc/api/cli.md

Lines changed: 1 addition & 0 deletions

src/node_options.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@ PerIsolateOptionsParser::PerIsolateOptionsParser() {
304304
V8Option{},
305305
kAllowedInEnvironment);
306306
AddOption("--perf-prof", "", V8Option{}, kAllowedInEnvironment);
307+
AddOption("--perf-prof-unwinding-info",
308+
"",
309+
V8Option{},
310+
kAllowedInEnvironment);
307311
AddOption("--stack-trace-limit", "", V8Option{}, kAllowedInEnvironment);
308312

309313
#ifdef NODE_REPORT

test/parallel/test-cli-node-options.js

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)