aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/trace.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/trace.go')
-rw-r--r--src/runtime/trace.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/trace.go b/src/runtime/trace.go
index a9cfa22337..948a8da0ca 100644
--- a/src/runtime/trace.go
+++ b/src/runtime/trace.go
@@ -578,6 +578,9 @@ func StopTrace() {
})
}
+// traceAdvance is called from panic, it does nothing for the legacy tracer.
+func traceAdvance(stopTrace bool) {}
+
// ReadTrace returns the next chunk of binary tracing data, blocking until data
// is available. If tracing is turned off and all the data accumulated while it
// was on has been returned, ReadTrace returns nil. The caller must copy the