mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2026-06-21 00:46:51 +08:00
Be more explicit about incomplete block events
This commit is contained in:
parent
413b4b5cb2
commit
066ac6063a
1 changed files with 2 additions and 1 deletions
3
block.md
3
block.md
|
|
@ -46,8 +46,9 @@ The operations above are a subset of the [waiting states](https://github.com/gol
|
|||
- Runtime Internal Locks (e.g. for [stopTheWorld](https://github.com/golang/go/blob/go1.15.7/src/runtime/proc.go#L900))
|
||||
- Blocking in [cgo](https://golang.org/cmd/cgo/) calls
|
||||
- Events that block forever (e.g. sending/receiving on nil channels)
|
||||
- Blocking events that have not completed yet.
|
||||
|
||||
However, some of the waiting states above above can be analyzed using [Goroutine Profiling](./goroutine.md).
|
||||
In some cases [Goroutine Profiling](./goroutine.md) (debug=2) can be a good alternative to block profiling since it covers all waiting states and can show ongoing blocking events that have not yet completed.
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue