mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime, cmd/trace: remove code paths that include v1 tracer
This change makes the new execution tracer described in #60773, the default tracer. This change attempts to make the smallest amount of changes for a single CL. Updates #66703 For #60773 Change-Id: I3742f3419c54f07d7c020ae5e1c18d29d8bcae6d Reviewed-on: https://go-review.googlesource.com/c/go/+/576256 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
8e987fadb5
commit
2c5849dc40
27 changed files with 68 additions and 3974 deletions
|
|
@ -10,7 +10,6 @@ import (
|
|||
"errors"
|
||||
"flag"
|
||||
"fmt"
|
||||
"internal/goexperiment"
|
||||
"internal/testenv"
|
||||
tracev2 "internal/trace/v2"
|
||||
"io"
|
||||
|
|
@ -890,10 +889,6 @@ func init() {
|
|||
}
|
||||
|
||||
func TestCrashWhileTracing(t *testing.T) {
|
||||
if !goexperiment.ExecTracer2 {
|
||||
t.Skip("skipping because this test is incompatible with the legacy tracer")
|
||||
}
|
||||
|
||||
testenv.MustHaveExec(t)
|
||||
|
||||
cmd := testenv.CleanCmdEnv(testenv.Command(t, os.Args[0]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue