runtime.g.goid (field)
36 uses
runtime (current package)
heapdump.go#L357: dumpint(uint64(gp.goid))
malloc.go#L938: if inittrace.active && inittrace.id == getg().goid {
malloc.go#L1142: if inittrace.active && inittrace.id == getg().goid {
mgcmark.go#L132: println("gp", gp, "goid", gp.goid,
mgcmark.go#L697: print("runtime:scanstack: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", hex(readgstatus(gp)), "\n")
mgcmark.go#L703: print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
mgcmark.go#L708: print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
mgcmark.go#L730: println("stack trace goroutine", gp.goid)
mgcmark.go#L734: print("scanning async preempted goroutine ", gp.goid, " stack [", hex(gp.stack.lo), ",", hex(gp.stack.hi), ")\n")
proc.go#L170: inittrace.id = getg().goid
proc.go#L691: print("runtime: gp: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
proc.go#L692: print("runtime: g: g=", _g_, ", goid=", _g_.goid, ", g->atomicstatus=", readgstatus(_g_), "\n")
proc.go#L1919: gp.goid = int64(atomic.Xadd64(&sched.goidgen, 1))
proc.go#L4087: newg.goid = int64(_p_.goidcache)
proc.go#L4105: if debug.tracebackancestors <= 0 || callergp.goid == 0 {
proc.go#L4125: goid: callergp.goid,
proc.go#L5044: print("runtime: checkdead: find g ", gp.goid, " in status ", s, "\n")
proc.go#L5442: id2 = gp.goid
proc.go#L5446: id3 = lockedg.goid
proc.go#L5464: print(" G", gp.goid, ": status=", readgstatus(gp), "(", gp.waitreason.String(), ") m=", id1, " lockedm=", id2, "\n")
runtime2.go#L426: goid int64
stack.go#L1020: print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->status=", hex(readgstatus(gp)), "\n ")
trace.go#L231: traceEvent(traceEvGoCreate, -1, uint64(gp.goid), uint64(id), stackID)
trace.go#L236: traceEvent(traceEvGoWaiting, -1, uint64(gp.goid))
trace.go#L240: traceEvent(traceEvGoInSyscall, -1, uint64(gp.goid))
trace.go#L604: if nstk > 0 && gp.goid == 1 {
trace.go#L1060: traceEvent(traceEvGoCreate, 2, uint64(newg.goid), uint64(id))
trace.go#L1068: traceEvent(traceEvGoStartLabel, -1, uint64(_g_.goid), _g_.traceseq, trace.markWorkerLabels[_p_.ptr().gcMarkWorkerMode])
trace.go#L1070: traceEvent(traceEvGoStartLocal, -1, uint64(_g_.goid))
trace.go#L1073: traceEvent(traceEvGoStart, -1, uint64(_g_.goid), _g_.traceseq)
trace.go#L1104: traceEvent(traceEvGoUnblockLocal, skip, uint64(gp.goid))
trace.go#L1107: traceEvent(traceEvGoUnblock, skip, uint64(gp.goid), gp.traceseq)
trace.go#L1131: traceEvent(traceEvGoSysExit, -1, uint64(_g_.goid), _g_.traceseq, uint64(ts)/traceTickDiv)
traceback.go#L553: print("runtime: g", gp.goid, ": frame.sp=", hex(frame.sp), " top=", hex(gp.stktopsp), "\n")
traceback.go#L666: if f.valid() && showframe(f, gp, false, funcID_normal, funcID_normal) && gp.goid != 1 {
traceback.go#L903: print("goroutine ", gp.goid, " [", status)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |