]> Cypherpunks repositories - gostls13.git/commit
cmd/pprof/internal: move to cmd/internal/pprof
authorDmitry Vyukov <dvyukov@google.com>
Tue, 12 Apr 2016 07:41:11 +0000 (09:41 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Tue, 12 Apr 2016 15:02:28 +0000 (15:02 +0000)
commit204b6f48c5107d3132033324fd492ca0253568dc
tree32f973c80d3abf12a6122f1e148c1ace3a8726b4
parent9743e4b0311c37ebacc2c9063a1cd778510eae09
cmd/pprof/internal: move to cmd/internal/pprof

Make internal pprof packages available to cmd/trace.
cmd/trace needs access to them to generate symbolized
svg profiles (create and serialize Profile struct).
And potentially generate svg programmatically instead
of invoking go tool pprof.

Change-Id: Iafd0c87ffdd4ddc081093be0b39761f19507907a
Reviewed-on: https://go-review.googlesource.com/21870
Run-TryBot: Dmitry Vyukov <dvyukov@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
22 files changed:
src/cmd/internal/pprof/commands/commands.go [moved from src/cmd/pprof/internal/commands/commands.go with 98% similarity]
src/cmd/internal/pprof/driver/driver.go [moved from src/cmd/pprof/internal/driver/driver.go with 99% similarity]
src/cmd/internal/pprof/driver/interactive.go [moved from src/cmd/pprof/internal/driver/interactive.go with 99% similarity]
src/cmd/internal/pprof/fetch/fetch.go [moved from src/cmd/pprof/internal/fetch/fetch.go with 97% similarity]
src/cmd/internal/pprof/plugin/plugin.go [moved from src/cmd/pprof/internal/plugin/plugin.go with 99% similarity]
src/cmd/internal/pprof/profile/encode.go [moved from src/cmd/pprof/internal/profile/encode.go with 100% similarity]
src/cmd/internal/pprof/profile/filter.go [moved from src/cmd/pprof/internal/profile/filter.go with 100% similarity]
src/cmd/internal/pprof/profile/legacy_profile.go [moved from src/cmd/pprof/internal/profile/legacy_profile.go with 100% similarity]
src/cmd/internal/pprof/profile/profile.go [moved from src/cmd/pprof/internal/profile/profile.go with 100% similarity]
src/cmd/internal/pprof/profile/profile_test.go [moved from src/cmd/pprof/internal/profile/profile_test.go with 100% similarity]
src/cmd/internal/pprof/profile/proto.go [moved from src/cmd/pprof/internal/profile/proto.go with 100% similarity]
src/cmd/internal/pprof/profile/proto_test.go [moved from src/cmd/pprof/internal/profile/proto_test.go with 100% similarity]
src/cmd/internal/pprof/profile/prune.go [moved from src/cmd/pprof/internal/profile/prune.go with 100% similarity]
src/cmd/internal/pprof/report/report.go [moved from src/cmd/pprof/internal/report/report.go with 99% similarity]
src/cmd/internal/pprof/report/source.go [moved from src/cmd/pprof/internal/report/source.go with 99% similarity]
src/cmd/internal/pprof/report/source_html.go [moved from src/cmd/pprof/internal/report/source_html.go with 100% similarity]
src/cmd/internal/pprof/svg/svg.go [moved from src/cmd/pprof/internal/svg/svg.go with 100% similarity]
src/cmd/internal/pprof/svg/svgpan.go [moved from src/cmd/pprof/internal/svg/svgpan.go with 100% similarity]
src/cmd/internal/pprof/symbolizer/symbolizer.go [moved from src/cmd/pprof/internal/symbolizer/symbolizer.go with 98% similarity]
src/cmd/internal/pprof/symbolz/symbolz.go [moved from src/cmd/pprof/internal/symbolz/symbolz.go with 98% similarity]
src/cmd/internal/pprof/tempfile/tempfile.go [moved from src/cmd/pprof/internal/tempfile/tempfile.go with 100% similarity]
src/cmd/pprof/pprof.go