LEFT | RIGHT |
1 // Copyright 2011 The Go Authors. All rights reserved. | 1 // Copyright 2011 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 // +build !nacl | 5 // +build !nacl |
6 | 6 |
7 package pprof_test | 7 package pprof_test |
8 | 8 |
9 import ( | 9 import ( |
10 "bytes" | 10 "bytes" |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ | 286 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ |
287 `}, | 287 `}, |
288 {"chan send", blockChanSend, ` | 288 {"chan send", blockChanSend, ` |
289 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ | 289 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ |
290 # 0x[0-9,a-f]+ runtime\.chansend1\+0x[0-9,a-f]+ .*/src/pkg/runti
me/chan.go:[0-9]+ | 290 # 0x[0-9,a-f]+ runtime\.chansend1\+0x[0-9,a-f]+ .*/src/pkg/runti
me/chan.go:[0-9]+ |
291 # 0x[0-9,a-f]+ runtime/pprof_test\.blockChanSend\+0x[0-9,a-f]+ .*/src/p
kg/runtime/pprof/pprof_test.go:[0-9]+ | 291 # 0x[0-9,a-f]+ runtime/pprof_test\.blockChanSend\+0x[0-9,a-f]+ .*/src/p
kg/runtime/pprof/pprof_test.go:[0-9]+ |
292 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ | 292 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ |
293 `}, | 293 `}, |
294 {"chan close", blockChanClose, ` | 294 {"chan close", blockChanClose, ` |
295 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ | 295 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ |
296 #» 0x[0-9,a-f]+» runtime\.chanrecv1\+0x[0-9,a-f]+» .*/src/pkg/runti
me/chan.goc:[0-9]+ | 296 #» 0x[0-9,a-f]+» runtime\.chanrecv1\+0x[0-9,a-f]+» .*/src/pkg/runti
me/chan.go:[0-9]+ |
297 # 0x[0-9,a-f]+ runtime/pprof_test\.blockChanClose\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ | 297 # 0x[0-9,a-f]+ runtime/pprof_test\.blockChanClose\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ |
298 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ | 298 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ |
299 `}, | 299 `}, |
300 {"select recv async", blockSelectRecvAsync, ` | 300 {"select recv async", blockSelectRecvAsync, ` |
301 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ | 301 [0-9]+ [0-9]+ @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]+ |
302 # 0x[0-9,a-f]+ runtime\.selectgo\+0x[0-9,a-f]+ .*/src/pkg/runtime/chan.
goc:[0-9]+ | 302 # 0x[0-9,a-f]+ runtime\.selectgo\+0x[0-9,a-f]+ .*/src/pkg/runtime/chan.
goc:[0-9]+ |
303 # 0x[0-9,a-f]+ runtime/pprof_test\.blockSelectRecvAsync\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ | 303 # 0x[0-9,a-f]+ runtime/pprof_test\.blockSelectRecvAsync\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ |
304 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ | 304 # 0x[0-9,a-f]+ runtime/pprof_test\.TestBlockProfile\+0x[0-9,a-f]+
.*/src/pkg/runtime/pprof/pprof_test.go:[0-9]+ |
305 `}, | 305 `}, |
306 {"select send sync", blockSelectSendSync, ` | 306 {"select send sync", blockSelectSendSync, ` |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 mu.Lock() | 414 mu.Lock() |
415 go func() { | 415 go func() { |
416 time.Sleep(blockDelay) | 416 time.Sleep(blockDelay) |
417 mu.Lock() | 417 mu.Lock() |
418 c.Signal() | 418 c.Signal() |
419 mu.Unlock() | 419 mu.Unlock() |
420 }() | 420 }() |
421 c.Wait() | 421 c.Wait() |
422 mu.Unlock() | 422 mu.Unlock() |
423 } | 423 } |
LEFT | RIGHT |