]> Cypherpunks repositories - gostls13.git/commit
internal/profile: remove legacy profile support
authorMichael Pratt <mpratt@google.com>
Wed, 6 Dec 2023 19:20:49 +0000 (14:20 -0500)
committerGopher Robot <gobot@golang.org>
Wed, 31 Jan 2024 23:21:53 +0000 (23:21 +0000)
commit2f6a25f4478905db5e169019bf9dc39ab2a50f89
tree08ead6e237754b8e6d836c9480e9790099fc31a9
parente069587c8d530ec912614d138bbf59a1d1788fb9
internal/profile: remove legacy profile support

internal/profile.Parse is only used in two places: cmd/compile for
parsing PGO profiles, and net/http/pprof for parsing runtime/pprof
profiles for delta profiles. Neither case ever encounters legacy
profiles, so we can remove support entirely from the package.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest

Change-Id: Ic5f85b3fc1e1367131b6039dac9378913cbf9f2c
Reviewed-on: https://go-review.googlesource.com/c/go/+/548035
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/internal/profile/legacy_profile.go [deleted file]
src/internal/profile/profile.go
src/internal/profile/profile_test.go [deleted file]
src/runtime/pprof/proto_test.go