aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com/google/pprof/driver
diff options
context:
space:
mode:
authorAlberto Donizetti <alb.donizetti@gmail.com>2017-06-20 18:54:22 +0000
committerAlberto Donizetti <alb.donizetti@gmail.com>2017-06-20 19:46:11 +0000
commit5a5ac34133f31eedf39e0cc6bef06085190317d2 (patch)
tree977ce2134e96a56575d1c177e253dc91ea755d60 /src/cmd/vendor/github.com/google/pprof/driver
parent3d13b5e00c9bc065d83e27d787a64adc683cea02 (diff)
downloadgo-5a5ac34133f31eedf39e0cc6bef06085190317d2.tar.xz
Revert "cmd/vendor/github.com/google/pprof: refresh from upstream"
This reverts commit 3d13b5e00c9bc065d83e27d787a64adc683cea02. Reason for revert: the new TestHttpsInsecure test breaks two darwin builders, the android builders, and one plan9 builder. Change-Id: I09158e7d1bd2b3ffda57e7f2350f34eb9b62e784 Reviewed-on: https://go-review.googlesource.com/46158 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/driver')
-rw-r--r--src/cmd/vendor/github.com/google/pprof/driver/driver.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/vendor/github.com/google/pprof/driver/driver.go b/src/cmd/vendor/github.com/google/pprof/driver/driver.go
index ee7d67d784..d01d0fa344 100644
--- a/src/cmd/vendor/github.com/google/pprof/driver/driver.go
+++ b/src/cmd/vendor/github.com/google/pprof/driver/driver.go
@@ -29,10 +29,10 @@ import (
// manager. Then it generates a report formatted according to the
// options selected through the flags package.
func PProf(o *Options) error {
- return internaldriver.PProf(o.internalOptions())
+ return internaldriver.PProf(o.InternalOptions())
}
-func (o *Options) internalOptions() *plugin.Options {
+func (o *Options) InternalOptions() *plugin.Options {
var obj plugin.ObjTool
if o.Obj != nil {
obj = &internalObjTool{o.Obj}
@@ -273,9 +273,9 @@ type internalSymbolizer struct {
}
func (s *internalSymbolizer) Symbolize(mode string, srcs plugin.MappingSources, prof *profile.Profile) error {
- isrcs := MappingSources{}
+ isrcs := plugin.MappingSources{}
for m, s := range srcs {
isrcs[m] = s
}
- return s.Symbolizer.Symbolize(mode, isrcs, prof)
+ return s.Symbolize(mode, isrcs, prof)
}