]> Cypherpunks repositories - gostls13.git/commit
cmd/trace/v2: handle the -pprof flag
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 11 Apr 2024 20:30:24 +0000 (20:30 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 11 Apr 2024 22:45:13 +0000 (22:45 +0000)
commite14aad1faf6f511e342d124681bc0146e426f9aa
tree13096eb08a54e098c9637048a54e1a98f569f950
parentddfab21e464b9b4c15fe3dc97eb5d93a4932f434
cmd/trace/v2: handle the -pprof flag

Turns out we ported all the profile generation, but forgot to actually
support the command line flags for them! This change fixes the issue by
handling the different kinds of profiles and writing them out to stdout.

Fixes #66782.

Change-Id: I7756fb4636ce8daaf11ed471be79c86ce3d463cc
Reviewed-on: https://go-review.googlesource.com/c/go/+/578318
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/trace/v2/main.go