mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2026-06-21 00:46:51 +08:00
Compare commits
2 commits
b82d25329f
...
63feabe270
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63feabe270 | ||
|
|
bb9b9ec34f |
3 changed files with 21 additions and 3 deletions
18
.github/workflows/ci.yml
vendored
Normal file
18
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-links:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@main
|
||||||
|
- name: Markup Link Checker (mlc)
|
||||||
|
uses: becheran/mlc@v0.15.4
|
||||||
|
with:
|
||||||
|
args: --no-web-links
|
||||||
2
block.md
2
block.md
|
|
@ -166,7 +166,7 @@ Below is an example of block profile encoded in [pprof's protobuf format](./ppro
|
||||||
- contentions/count
|
- contentions/count
|
||||||
- delay/nanoseconds
|
- delay/nanoseconds
|
||||||
|
|
||||||
The `blockprofilerate` used to create the profile is not included, neither are [profiler labels](./profiler-labels).
|
The `blockprofilerate` used to create the profile is not included, neither are profiler labels.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ go tool pprof -raw block.pb.gz
|
$ go tool pprof -raw block.pb.gz
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# block-net
|
# block-net
|
||||||
|
|
||||||
This [program](./main.go) explores the [question](https://twitter.com/rogpeppe/status/1359202847708037124) whether network i/o (e.g. waiting on socket read/write operations) will show up in the [block profiler](/block.md) or not.
|
This [program](./main.go) explores the [question](https://twitter.com/rogpeppe/status/1359202847708037124) whether network i/o (e.g. waiting on socket read/write operations) will show up in the [block profiler](../../block.md) or not.
|
||||||
|
|
||||||
The program does the following:
|
The program does the following:
|
||||||
|
|
||||||
|
|
@ -22,5 +22,5 @@ However, as you can see below, the block profiler [captures](./block.pb.gz) only
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
This means that [block profiler](/block.md) is generally not able to give a good idea about goroutines that are waiting on network i/o.
|
This means that [block profiler](../../block.md) is generally not able to give a good idea about goroutines that are waiting on network i/o.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue