mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2026-06-21 00:46:51 +08:00
Grammar
This commit is contained in:
parent
a12bb8e2a4
commit
a785e26f8c
1 changed files with 1 additions and 1 deletions
2
block.md
2
block.md
|
|
@ -76,7 +76,7 @@ pprof.Lookup("block").WriteTo(myFile, 0)
|
|||
|
||||
Alternatively you can use [github.com/pkg/profile](https://pkg.go.dev/github.com/pkg/profile) for convenience, or [net/http/pprof](net/http/pprof) to expose profiling via http, or use a [continious profiler](https://www.datadoghq.com/product/code-profiling/) to collect the data automatically in production.
|
||||
|
||||
Last but not least you can use the [`runtime.BlockProfile`](https://golang.org/pkg/runtime/#BlockProfile) API to get programmatically get the same information.
|
||||
Last but not least you can use the [`runtime.BlockProfile`](https://golang.org/pkg/runtime/#BlockProfile) API to get the same information in a structured format.
|
||||
|
||||
## Overhead
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue