Skip to content

Commit 747e3ae

Browse files
add doc for the profiling arguments (#1761)
1 parent 2e7c389 commit 747e3ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/src/docs/usage/configuration.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ golangci-lint run -h
1919
{.RunHelpText}
2020
```
2121

22+
When the `--cpu-profile-path` or `--mem-profile-path` arguments are specified, `golangci-lint` writes runtime profiling data
23+
in the format expected by the [pprof](https://github.com/google/pprof) visualization tool.
24+
25+
When the `--trace-path` argument is specified, `golangci-lint` writes runtime tracing data in the format expected by
26+
the `go tool trace` command and visualization tool.
27+
2228
## Config File
2329

2430
GolangCI-Lint looks for config files in the following paths from the current working directory:

0 commit comments

Comments
 (0)