This commit is contained in:
Felix Geisendörfer 2021-02-11 14:39:00 +01:00
parent e856f4da18
commit 3dc963111a

View file

@ -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%;" />