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:
Carlos Amedee 2024-04-02 18:16:07 -04:00
parent 8e987fadb5
commit 2c5849dc40
27 changed files with 68 additions and 3974 deletions

View file

@ -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]))