From 55e4097cbaf67307eeb981150da774329a03b88d Mon Sep 17 00:00:00 2001 From: Carlos Amedee Date: Wed, 3 Apr 2024 11:58:54 -0400 Subject: [PATCH] internal/goexperiment: remove the ExecTracer2 experiment This change removes the ExecTracer2 experiment flag. This flag was created as part of the tracer overhaul described in #60773. Updates #66703 For #60773 Change-Id: Ib95b9dd8bb68b48e7543c4d28d853c6a518438f6 Reviewed-on: https://go-review.googlesource.com/c/go/+/576258 Auto-Submit: Carlos Amedee LUCI-TryBot-Result: Go LUCI Reviewed-by: Michael Knyszek --- src/internal/buildcfg/exp.go | 1 - src/internal/goexperiment/exp_exectracer2_off.go | 8 -------- src/internal/goexperiment/exp_exectracer2_on.go | 8 -------- src/internal/goexperiment/flags.go | 4 ---- 4 files changed, 21 deletions(-) delete mode 100644 src/internal/goexperiment/exp_exectracer2_off.go delete mode 100644 src/internal/goexperiment/exp_exectracer2_on.go diff --git a/src/internal/buildcfg/exp.go b/src/internal/buildcfg/exp.go index 06b743812eef3c..0f29233fb37a06 100644 --- a/src/internal/buildcfg/exp.go +++ b/src/internal/buildcfg/exp.go @@ -73,7 +73,6 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) { RegabiWrappers: regabiSupported, RegabiArgs: regabiSupported, CoverageRedesign: true, - ExecTracer2: true, } // Start with the statically enabled set of experiments. diff --git a/src/internal/goexperiment/exp_exectracer2_off.go b/src/internal/goexperiment/exp_exectracer2_off.go deleted file mode 100644 index b6c9476fbf22cd..00000000000000 --- a/src/internal/goexperiment/exp_exectracer2_off.go +++ /dev/null @@ -1,8 +0,0 @@ -// Code generated by mkconsts.go. DO NOT EDIT. - -//go:build !goexperiment.exectracer2 - -package goexperiment - -const ExecTracer2 = false -const ExecTracer2Int = 0 diff --git a/src/internal/goexperiment/exp_exectracer2_on.go b/src/internal/goexperiment/exp_exectracer2_on.go deleted file mode 100644 index 1cbfea46b32c74..00000000000000 --- a/src/internal/goexperiment/exp_exectracer2_on.go +++ /dev/null @@ -1,8 +0,0 @@ -// Code generated by mkconsts.go. DO NOT EDIT. - -//go:build goexperiment.exectracer2 - -package goexperiment - -const ExecTracer2 = true -const ExecTracer2Int = 1 diff --git a/src/internal/goexperiment/flags.go b/src/internal/goexperiment/flags.go index 36aefa53a9dd0b..205741b8d91af0 100644 --- a/src/internal/goexperiment/flags.go +++ b/src/internal/goexperiment/flags.go @@ -119,8 +119,4 @@ type Flags struct { // Range enables range over int and func. Range bool - - // ExecTracer2 controls whether to use the new execution trace - // implementation. - ExecTracer2 bool }