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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/trace.go b/src/runtime/trace.go
index 08b4f394ce..cfb1ae7a92 100644
--- a/src/runtime/trace.go
+++ b/src/runtime/trace.go
@@ -944,7 +944,7 @@ func traceReadCPU() {
}
stackID := trace.stackTab.put(buf.stk[:nstk])
- traceEventLocked(0, nil, 0, bufp, traceEvCPUSample, stackID, 1, uint64(timestamp), ppid, goid)
+ traceEventLocked(0, nil, 0, bufp, traceEvCPUSample, stackID, 1, timestamp, ppid, goid)
}
}
}