]> Cypherpunks repositories - gostls13.git/commit
cmd/trace: collapse v2 directory into trace
authorCarlos Amedee <carlos@golang.org>
Tue, 7 May 2024 14:37:48 +0000 (10:37 -0400)
committerCarlos Amedee <carlos@golang.org>
Fri, 17 May 2024 17:15:58 +0000 (17:15 +0000)
commit01ad44bc08c7ea3b8a7d1d989051046c77b6a63d
tree95f13942c0060668b197f4f84dda287914e4dbe6
parent003683f41d667c8942657d6fd8bbf9e7c6925c87
cmd/trace: collapse v2 directory into trace

This change removes the old trace code and replaces it with the new tracer.
It does the following:
- Moves the contents of the v2 directory into the parent trace directory.
- Combines the old tracer main file with the new main file.
- Replaces any existing files with the corresponding v2 files.
- Removes any unused files.

Updates #67367

Change-Id: I2237920e13588258a2442b639d562cf7f8a8e944
Reviewed-on: https://go-review.googlesource.com/c/go/+/584536
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
24 files changed:
src/cmd/trace/annotations.go [deleted file]
src/cmd/trace/annotations_test.go [deleted file]
src/cmd/trace/gen.go [moved from src/cmd/trace/v2/gen.go with 99% similarity]
src/cmd/trace/goroutinegen.go [moved from src/cmd/trace/v2/goroutinegen.go with 99% similarity]
src/cmd/trace/goroutines.go
src/cmd/trace/gstate.go [moved from src/cmd/trace/v2/gstate.go with 99% similarity]
src/cmd/trace/jsontrace.go [moved from src/cmd/trace/v2/jsontrace.go with 99% similarity]
src/cmd/trace/jsontrace_test.go [moved from src/cmd/trace/v2/jsontrace_test.go with 99% similarity]
src/cmd/trace/main.go
src/cmd/trace/pprof.go
src/cmd/trace/procgen.go [moved from src/cmd/trace/v2/procgen.go with 99% similarity]
src/cmd/trace/regions.go [moved from src/cmd/trace/v2/regions.go with 99% similarity]
src/cmd/trace/tasks.go [moved from src/cmd/trace/v2/tasks.go with 99% similarity]
src/cmd/trace/testdata/generate.go [moved from src/cmd/trace/v2/testdata/generate.go with 100% similarity]
src/cmd/trace/testdata/go122.test [moved from src/cmd/trace/v2/testdata/go122.test with 100% similarity]
src/cmd/trace/testdata/mktests.go [moved from src/cmd/trace/v2/testdata/mktests.go with 100% similarity]
src/cmd/trace/testdata/testprog/main.go [moved from src/cmd/trace/v2/testdata/testprog/main.go with 100% similarity]
src/cmd/trace/threadgen.go [moved from src/cmd/trace/v2/threadgen.go with 99% similarity]
src/cmd/trace/trace.go [deleted file]
src/cmd/trace/trace_test.go [deleted file]
src/cmd/trace/v2/goroutines.go [deleted file]
src/cmd/trace/v2/main.go [deleted file]
src/cmd/trace/v2/pprof.go [deleted file]
src/cmd/trace/viewer.go [moved from src/cmd/trace/v2/viewer.go with 99% similarity]