summaryrefslogtreecommitdiff
path: root/usr/austin/ogle/rruntime.go
diff options
context:
space:
mode:
Diffstat (limited to 'usr/austin/ogle/rruntime.go')
-rw-r--r--usr/austin/ogle/rruntime.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr/austin/ogle/rruntime.go b/usr/austin/ogle/rruntime.go
index e0a654691..758f1c708 100644
--- a/usr/austin/ogle/rruntime.go
+++ b/usr/austin/ogle/rruntime.go
@@ -110,20 +110,24 @@ type rt1ArrayType struct {
* See $GOROOT/src/pkg/runtime/runtime.h
*/
+// Fields beginning with _ are only for padding
+
type rt1Stktop struct {
stackguard uintptr;
stackbase *rt1Stktop;
gobuf rt1Gobuf;
+ _args uint32;
+ _fp uintptr;
}
type rt1Gobuf struct {
sp uintptr;
pc uintptr;
g *rt1G;
+ r0 uintptr;
}
type rt1G struct {
- // Fields beginning with _ are only for padding
_stackguard uintptr;
stackbase *rt1Stktop;
_defer uintptr;
@@ -133,6 +137,7 @@ type rt1G struct {
alllink *rt1G;
_param uintptr;
status int16;
+ // Incomplete
}
var rt1GStatus = runtimeGStatus{
@@ -193,7 +198,7 @@ type runtimeIndexes struct {
Sp, Pc, G int;
};
G struct {
- Stackbase, Sched, Status int;
+ Stackbase, Sched, Status, Alllink int;
};
}