aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/tracebuf.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/tracebuf.go')
-rw-r--r--src/runtime/tracebuf.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/tracebuf.go b/src/runtime/tracebuf.go
index 63803a90f5..08a1d46838 100644
--- a/src/runtime/tracebuf.go
+++ b/src/runtime/tracebuf.go
@@ -165,7 +165,7 @@ func (w traceWriter) refill() traceWriter {
unlock(&trace.lock)
} else {
unlock(&trace.lock)
- w.traceBuf = (*traceBuf)(sysAlloc(unsafe.Sizeof(traceBuf{}), &memstats.other_sys))
+ w.traceBuf = (*traceBuf)(sysAlloc(unsafe.Sizeof(traceBuf{}), &memstats.other_sys, "trace buffer"))
if w.traceBuf == nil {
throw("trace: out of memory")
}