mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Reporting MemStats requires the legacy profile format (see golang/go#18641). This CL detects when it couldn't get the MemStats from the profile and reports this, rather than reporting 0 allocs. Change-Id: Ib621ad975290cf05835fafa81e8e47762d82a519 Reviewed-on: https://go-review.googlesource.com/c/tools/+/175802 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>