aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/runtime.h')
-rw-r--r--libgo/runtime/runtime.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h
index 94f8911..76a9eef 100644
--- a/libgo/runtime/runtime.h
+++ b/libgo/runtime/runtime.h
@@ -153,6 +153,9 @@ struct G
// uintptr sigpc;
uintptr gopc; // pc of go statement that created this goroutine
+ int32 ncgo;
+ struct cgoalloc *cgoalloc;
+
Traceback* traceback;
ucontext_t context;
@@ -174,6 +177,7 @@ struct M
int32 profilehz;
int32 helpgc;
uint32 fastrand;
+ uint64 ncgocall;
Note havenextg;
G* nextg;
M* alllink; // on allm