diff options
| author | Michael Matloob <matloob@golang.org> | 2017-04-05 13:50:52 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2017-04-28 17:37:58 +0000 |
| commit | f105c917573dea3e94edf7c7a4e64e1c934a0db2 (patch) | |
| tree | 0345281a54454b16c6f60f54b5f1b45c9c230e99 /src/os/exec/exec.go | |
| parent | c82efb1fa370ea83a7e9ff89d85598bb0fdc3fb5 (diff) | |
| download | go-f105c917573dea3e94edf7c7a4e64e1c934a0db2.tar.xz | |
runtime/pprof: propagate profile labels into profile proto
Profile labels added by the user using pprof.Do, if present will
be in a *labelMap stored in the unsafe.Pointer 'tag' field of
the profile map entry. This change extracts the labels from the tag
field and writes them to the profile proto.
Change-Id: Ic40fdc58b66e993ca91d5d5effe0e04ffbb5bc46
Reviewed-on: https://go-review.googlesource.com/39613
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
