File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -495,14 +495,20 @@ in the current working directory.
495
495
If ` --cpu-prof-name ` is not specified, the generated profile is
496
496
named ` CPU.${yyyymmdd}.${hhmmss}.${pid}.${tid}.${seq}.cpuprofile ` .
497
497
498
- If ` --cpu-prof-name ` is specified, the provided value will be used as-is; patterns such as ` ${hhmmss} ` or ` ${pid} ` are not supported.
499
-
500
498
``` console
501
499
$ node --cpu-prof index.js
502
500
$ ls * .cpuprofile
503
501
CPU.20190409.202950.15293.0.0.cpuprofile
504
502
```
505
503
504
+ If ` --cpu-prof-name ` is specified, the provided value will be used as-is; patterns such as ` ${hhmmss} ` or ` ${pid} ` are not supported.
505
+
506
+ ``` console
507
+ $ node --cpu-prof --cpu-prof-name ' CPU.${pid}.cpuprofile' index.js
508
+ $ ls * .cpuprofile
509
+ 'CPU.${pid}.cpuprofile'
510
+ ```
511
+
506
512
### ` --cpu-prof-dir `
507
513
508
514
<!-- YAML
You can’t perform that action at this time.
0 commit comments