aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/callers_test.go
diff options
context:
space:
mode:
authorFelix Geisendörfer <felix.geisendoerfer@datadoghq.com>2023-04-26 09:36:53 +0200
committerMichael Pratt <mpratt@google.com>2023-05-12 13:51:15 +0000
commitc3db9af3a68f1a12d97d5cebaa434cd6e10dd11f (patch)
tree44fb692deba85ac478e274d1f1e34bac1e1defc9 /src/runtime/callers_test.go
parent6d2309b576bf4aa769a428f133ba2c8c524ff410 (diff)
downloadgo-c3db9af3a68f1a12d97d5cebaa434cd6e10dd11f.tar.xz
runtime: remove unused skip arg from fpTracebackPCs
This was accidentally left behind when moving the logic to set the skip sentinel in pcBuf to the caller. Change-Id: Id7565f6ea4df6b32cf18b99c700bca322998d182 Reviewed-on: https://go-review.googlesource.com/c/go/+/489095 Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com>
Diffstat (limited to 'src/runtime/callers_test.go')
-rw-r--r--src/runtime/callers_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/callers_test.go b/src/runtime/callers_test.go
index e52357f175..7e2c6c8238 100644
--- a/src/runtime/callers_test.go
+++ b/src/runtime/callers_test.go
@@ -443,7 +443,7 @@ func fpCallersCached(b *testing.B, n int) int {
pcs := make([]uintptr, 32)
b.ResetTimer()
for i := 0; i < b.N; i++ {
- runtime.FPCallers(0, pcs)
+ runtime.FPCallers(pcs)
}
b.StopTimer()
return 0