add doc for the profiling arguments (#1761)

This commit is contained in:
Sebastien Rosset 2021-02-21 07:32:12 -08:00 committed by GitHub
parent 2e7c389deb
commit 747e3aea00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,12 @@ golangci-lint run -h
{.RunHelpText}
```
When the `--cpu-profile-path` or `--mem-profile-path` arguments are specified, `golangci-lint` writes runtime profiling data
in the format expected by the [pprof](https://github.com/google/pprof) visualization tool.
When the `--trace-path` argument is specified, `golangci-lint` writes runtime tracing data in the format expected by
the `go tool trace` command and visualization tool.
## Config File
GolangCI-Lint looks for config files in the following paths from the current working directory: