Update prebuilts to go1.11 ab/4979655
Test: m -j blueprint_tools
Change-Id: Ia7faf31e862a3eb235f48abc03bdbde2f3d06881
diff --git a/src/testing/benchmark.go b/src/testing/benchmark.go
index 4d569b7..9c7b1be 100644
--- a/src/testing/benchmark.go
+++ b/src/testing/benchmark.go
@@ -489,14 +489,17 @@
if !ok {
return true
}
+ var pc [maxStackLen]uintptr
+ n := runtime.Callers(2, pc[:])
sub := &B{
common: common{
- signal: make(chan bool),
- name: benchName,
- parent: &b.common,
- level: b.level + 1,
- w: b.w,
- chatty: b.chatty,
+ signal: make(chan bool),
+ name: benchName,
+ parent: &b.common,
+ level: b.level + 1,
+ creator: pc[:n],
+ w: b.w,
+ chatty: b.chatty,
},
importPath: b.importPath,
benchFunc: f,