mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
5c0d0929d3
commit
e069587c8d
6 changed files with 451 additions and 47 deletions
|
|
@ -124,7 +124,7 @@ type CmdFlags struct {
|
|||
TraceProfile string "help:\"write an execution trace to `file`\""
|
||||
TrimPath string "help:\"remove `prefix` from recorded source file paths\""
|
||||
WB bool "help:\"enable write barrier\"" // TODO: remove
|
||||
PgoProfile string "help:\"read profile from `file`\""
|
||||
PgoProfile string "help:\"read profile or pre-process profile from `file`\""
|
||||
ErrorURL bool "help:\"print explanatory URL with error message if applicable\""
|
||||
|
||||
// Configuration derived from flags; not a flag itself.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue