Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
cli: clarify --cpu-prof-name allowed values
Refs: #57418
  • Loading branch information
cecia234 committed Mar 14, 2025
commit dfa40291759c788a8ce9aa7b2ab2deb9ea1dbc31
2 changes: 2 additions & 0 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ in the current working directory.
If `--cpu-prof-name` is not specified, the generated profile is
named `CPU.${yyyymmdd}.${hhmmss}.${pid}.${tid}.${seq}.cpuprofile`.

If `--cpu-prof-name` is specified, the provided value will be used as-is; patterns such as `${hhmmss}` or `${pid}` are not supported.
Comment thread
jasnell marked this conversation as resolved.
Outdated

```console
$ node --cpu-prof index.js
$ ls *.cpuprofile
Expand Down