aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index 697ff69234..f0f8c1abc3 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -213,6 +213,7 @@ type g struct {
sigcode1 uintptr
sigpc uintptr
gopc uintptr // pc of go statement that created this goroutine
+ startpc uintptr // pc of goroutine function
racectx uintptr
waiting *sudog // sudog structures this g is waiting on (that have a valid elem ptr)
}
@@ -324,6 +325,8 @@ type p struct {
gfree *g
gfreecnt int32
+ tracebuf *traceBuf
+
pad [64]byte
}