aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/histogram.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/histogram.go')
-rw-r--r--src/runtime/histogram.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/histogram.go b/src/runtime/histogram.go
index cd7e29a8c8..eddfbab3bc 100644
--- a/src/runtime/histogram.go
+++ b/src/runtime/histogram.go
@@ -84,6 +84,7 @@ type timeHistogram struct {
//
// Disallow preemptions and stack growths because this function
// may run in sensitive locations.
+//
//go:nosplit
func (h *timeHistogram) record(duration int64) {
if duration < 0 {