Add flag --cpu-profile to enable pprof
To collect CPU profile information added a flag `--cpu-profile` which is a path to file where this collected information will be dumped. Fixes #464 Signed-off-by: Suraj Deshmukh <surajssd009005@gmail.com>
This commit is contained in:
parent
eb257d2526
commit
2699198610
2 changed files with 18 additions and 0 deletions
|
@ -110,6 +110,9 @@ ocid is meant to provide an integration path between OCI conformant runtimes and
|
|||
**--cni-plugin-dir**=""
|
||||
CNI plugin binaries directory (default: "/opt/cni/bin/")
|
||||
|
||||
**--cpu-profile**
|
||||
Set the CPU profile file path
|
||||
|
||||
**--version, -v**
|
||||
Print the version
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue