aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/pprof
diff options
context:
space:
mode:
authoralex-semenyuk <alexsemenyuk88@gmail.com>2020-04-20 20:33:19 +0000
committerTobias Klauser <tobias.klauser@gmail.com>2020-04-21 09:07:42 +0000
commit876c1feb7d5e10a6ff831de9db19b9ff0ea92fa8 (patch)
tree176efc7ca5dfc29d06bb450bcb1e0e54265a8961 /src/runtime/pprof
parent17fbc818ff0f528d60d1abec2087af714de6e050 (diff)
downloadgo-876c1feb7d5e10a6ff831de9db19b9ff0ea92fa8.tar.gz
go-876c1feb7d5e10a6ff831de9db19b9ff0ea92fa8.zip
test/codegen, runtime/pprof, runtime: apply fmt
Change-Id: Ife4e065246729319c39e57a4fbd8e6f7b37724e1 GitHub-Last-Rev: e71803eaeb366c00f6c156de0b0b2c50927a0e82 GitHub-Pull-Request: golang/go#38527 Reviewed-on: https://go-review.googlesource.com/c/go/+/228901 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Diffstat (limited to 'src/runtime/pprof')
-rw-r--r--src/runtime/pprof/proto.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/pprof/proto.go b/src/runtime/pprof/proto.go
index f3d8ac38bf..8519af6985 100644
--- a/src/runtime/pprof/proto.go
+++ b/src/runtime/pprof/proto.go
@@ -325,7 +325,7 @@ func (b *profileBuilder) addCPUData(data []uint64, tags []unsafe.Pointer) error
// gentraceback guarantees that PCs in the
// stack can be unconditionally decremented and
// still be valid, so we must do the same.
- uint64(funcPC(lostProfileEvent)+1),
+ uint64(funcPC(lostProfileEvent) + 1),
}
}
b.m.lookup(stk, tag).count += int64(count)