Skip to content

Commit

Permalink
add doc for the profiling arguments (#1761)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-rosset authored Feb 21, 2021
1 parent 2e7c389 commit 747e3ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/docs/usage/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 747e3ae

Please sign in to comment.