diff options
author | Ian Lance Taylor <iant@golang.org> | 2017-02-10 14:59:38 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2017-02-13 18:36:28 +0000 |
commit | 3792db518327c685da17ca6c6faa4e1d2da4c33c (patch) | |
tree | 8d2456fa679526c8349a968aaf3cae09524aadfd /src/runtime/trace | |
parent | b548eee3d96fc0b6e962a243b28121e1f37ad792 (diff) | |
download | go-3792db518327c685da17ca6c6faa4e1d2da4c33c.tar.gz go-3792db518327c685da17ca6c6faa4e1d2da4c33c.zip |
net: refactor poller into new internal/poll package
This will make it possible to use the poller with the os package.
This is a lot of code movement but the behavior is intended to be
unchanged.
Update #6817.
Update #7903.
Update #15021.
Update #18507.
Change-Id: I1413685928017c32df5654ded73a2643820977ae
Reviewed-on: https://go-review.googlesource.com/36799
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime/trace')
-rw-r--r-- | src/runtime/trace/trace_stack_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/trace/trace_stack_test.go b/src/runtime/trace/trace_stack_test.go index f8abf66500..d6a3858b91 100644 --- a/src/runtime/trace/trace_stack_test.go +++ b/src/runtime/trace/trace_stack_test.go @@ -231,6 +231,7 @@ func TestTraceSymbolize(t *testing.T) { if runtime.GOOS != "windows" && runtime.GOOS != "plan9" { want = append(want, []eventDesc{ {trace.EvGoBlockNet, []frame{ + {"internal/poll.(*FD).Accept", 0}, {"net.(*netFD).accept", 0}, {"net.(*TCPListener).accept", 0}, {"net.(*TCPListener).Accept", 0}, |