]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: add definitions of profile label types
authorMichael Matloob <matloob@golang.org>
Fri, 9 Dec 2016 21:00:02 +0000 (16:00 -0500)
committerMichael Matloob <matloob@golang.org>
Mon, 6 Feb 2017 15:43:06 +0000 (15:43 +0000)
commit91ad2a219445d6df3ddb796d0f44190da24f429d
treeaec2278280afd87b61e733100471e64ff8afeee8
parent47d2a4dafa6e84f834f677790449c3c5998a5b98
runtime/pprof: add definitions of profile label types

This change defines WithLabels, Labels, Label, and ForLabels.
This is the first step of the profile labels implemention for go 1.9.

Updates #17280

Change-Id: I2dfc9aae90f7a4aa1ff7080d5747f0a1f0728e75
Reviewed-on: https://go-review.googlesource.com/34198
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/go/build/deps_test.go
src/runtime/pprof/label.go [new file with mode: 0644]
src/runtime/pprof/label_test.go [new file with mode: 0644]