mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2026-06-21 00:46:51 +08:00
wording
This commit is contained in:
parent
e856f4da18
commit
3dc963111a
1 changed files with 4 additions and 2 deletions
6
pprof.md
6
pprof.md
|
|
@ -10,9 +10,11 @@ The pprof tool features an interactive command line interface, but also a Web UI
|
|||
|
||||
### Description
|
||||
|
||||
The pprof tool defines a [protocol buffer](https://developers.google.com/protocol-buffers) output format, which is always stored with gzip compression and described in great detail this [README](https://github.com/google/pprof/blob/master/proto/README.md).
|
||||
The pprof format is defined in the [profile.proto](https://github.com/google/pprof/blob/master/proto/profile.proto) protocol buffer definition which has good comments. Additionally there is an official [README](https://github.com/google/pprof/blob/master/proto/README.md) for it. pprof files are always stored using gzip-compression on disk.
|
||||
|
||||
A picture is worth a thousand words, so below is an automatically [generated](https://github.com/seamia/protodot) visualization of the format.
|
||||
|
||||
|
||||
A picture is worth a thousand words, so here is a visualization of [profile.proto](https://github.com/google/pprof/blob/master/proto/profile.proto) generated by [protodot](https://github.com/seamia/protodot):
|
||||
|
||||
<img src="./profile.png" alt="profile.proto visualized" style="zoom: 80%;" />
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue