aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/trace2runtime.go
diff options
context:
space:
mode:
authorCarlos Amedee <carlos@golang.org>2024-04-02 18:16:07 -0400
committerCarlos Amedee <carlos@golang.org>2024-04-15 16:44:47 +0000
commit2c5849dc40152cef6b7c3465ba0a1d6eb8f3c985 (patch)
treeac6c040c7b5ee797ca0bf35d3762001f7745ec0a /src/runtime/trace2runtime.go
parent8e987fadb57fa1fc98975ca2fcb3a4751f7f55ff (diff)
downloadgo-2c5849dc40152cef6b7c3465ba0a1d6eb8f3c985.tar.xz
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>
Diffstat (limited to 'src/runtime/trace2runtime.go')
-rw-r--r--src/runtime/trace2runtime.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/runtime/trace2runtime.go b/src/runtime/trace2runtime.go
index f2140bdec9..dcaea364e2 100644
--- a/src/runtime/trace2runtime.go
+++ b/src/runtime/trace2runtime.go
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build goexperiment.exectracer2
-
// Runtime -> tracer API.
package runtime
@@ -562,10 +560,6 @@ func (tl traceLocker) ProcSteal(pp *p, inSyscall bool) {
w.commit(traceEvProcSteal, traceArg(pp.id), pp.trace.nextSeq(tl.gen), traceArg(mStolenFrom))
}
-// GoSysBlock is a no-op in the new tracer.
-func (tl traceLocker) GoSysBlock(pp *p) {
-}
-
// HeapAlloc emits a HeapAlloc event.
func (tl traceLocker) HeapAlloc(live uint64) {
tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvHeapAlloc, traceArg(live))