diff options
| author | Ryan Diep <ryandiep5@gmail.com> | 2025-11-28 03:27:09 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-01-23 08:26:16 -0800 |
| commit | a1150b5017b789c6dc22d2c3939f7df10baf3dff (patch) | |
| tree | 285a3972c20ad9740e846871c2b320e6dd7e2d0e /src/net/http/internal/httpsfv/httpsfv.go | |
| parent | 6b7206feb2df3116bd5c471813353ffec1ff25fe (diff) | |
| download | go-a1150b5017b789c6dc22d2c3939f7df10baf3dff.tar.xz | |
cmd/compile/internal/pgo: error parsing profile (for pgo) after scaling
If a valid profile is scaled such that the samples/counts become 0,
an empty graph in which the compiler complain that we never saw a start line
since the graph has no nodes which is a misleading error message.
src/cmd/internal/pgo/pprof.go was modified to check if the graph is empty
return an empty profile.
GitHub-Pull-Request: golang/go#73640
Change-Id: If3f7ab8af6fcf77b2e29ae1df154f87bee377ab0
Reviewed-on: https://go-review.googlesource.com/c/go/+/725120
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/net/http/internal/httpsfv/httpsfv.go')
0 files changed, 0 insertions, 0 deletions
