]> Cypherpunks repositories - gostls13.git/commit
cmd/preprofile: Implement a tool to preprocess the PGO profile.
authorJin Lin <jinl@uber.com>
Wed, 24 Jan 2024 03:40:38 +0000 (19:40 -0800)
committerMichael Pratt <mpratt@google.com>
Wed, 31 Jan 2024 22:40:25 +0000 (22:40 +0000)
commite069587c8d530ec912614d138bbf59a1d1788fb9
tree74226083860a9d9d99bba8dc93290c5217c85248
parent5c0d0929d3a6378c710376b55a49abd55b31a805
cmd/preprofile: Implement a tool to preprocess the PGO profile.

It fixes the issue https://github.com/golang/go/issues/65220.
It also includes  https://go.dev/cl/557458 from Michael.

Change-Id: Ic6109e1b6a9045459ff4a54dea11cbfe732b01e6
Reviewed-on: https://go-review.googlesource.com/c/go/+/557918
Reviewed-by: 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/cmd/compile/internal/base/flag.go
src/cmd/compile/internal/pgo/irgraph.go
src/cmd/compile/internal/test/pgo_inl_test.go
src/cmd/compile/internal/test/testdata/pgo/inline/inline_hot.pprof.node_map [new file with mode: 0644]
src/cmd/preprofile/main.go [new file with mode: 0644]
src/internal/profile/graph.go [moved from src/cmd/compile/internal/pgo/internal/graph/graph.go with 96% similarity]