diff options
| author | Michael Anthony Knyszek <mknyszek@google.com> | 2024-06-21 15:32:29 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-07-23 14:57:42 +0000 |
| commit | 5f073d361f96e38bd31cf9274769bd4d0f5e0a5a (patch) | |
| tree | db641bf4ea360a650911c92e256eb4690607f5b1 /src/runtime/stack.go | |
| parent | b8f83e22703ee23d49d95154449ce7066402d5c9 (diff) | |
| download | go-5f073d361f96e38bd31cf9274769bd4d0f5e0a5a.tar.xz | |
cmd/trace: merge testdata debugging tools into the trace tool
Currently internal/trace/testdata contains three debugging tools which
were written early in the trace rewrite for debugging. Two of these are
completely redundant with go tool trace -d=1 and go tool trace -d=2. The
only remaining one landed in the last cycle and could easily also be
another debug mode.
This change thus merges gotraceeventstats into go tool trace as a new
debug mode, and updates the debug mode flag (-d) to accept a string,
giving each mode a more descriptive name.
Change-Id: I170f30440691b81de846b4e247deb3d0982fc205
Reviewed-on: https://go-review.googlesource.com/c/go/+/593975
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
