We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc42ee8 commit 52cd095Copy full SHA for 52cd095
1 file changed
doc/api/cli.md
@@ -497,6 +497,15 @@ $ ls *.cpuprofile
497
CPU.20190409.202950.15293.0.0.cpuprofile
498
```
499
500
+If `--cpu-prof-name` is specified, the provided value will be used as-is; patterns such as
501
+`${hhmmss}` or `${pid}` are not supported.
502
+
503
+```console
504
+$ node --cpu-prof --cpu-prof-name 'CPU.${pid}.cpuprofile' index.js
505
+$ ls *.cpuprofile
506
+'CPU.${pid}.cpuprofile'
507
+```
508
509
### `--cpu-prof-dir`
510
511
<!-- YAML
0 commit comments