func runtime.getg

253 uses

	runtime (current package)
		atomic_pointer.go#L23: 	if !getg().m.p.ptr().wbBuf.putFast(*slot, uintptr(new)) {
		cgocall.go#L133: 	mp := getg().m
		cgocall.go#L201: 	gp := getg()
		cgocall.go#L244: 	gp := getg()
		cgocheck.go#L35: 	g := getg()
		chan.go#L236: 	gp := getg()
		chan.go#L555: 	gp := getg()
		checkptr.go#L55: 	if gp := getg(); gp.stack.lo <= uintptr(p) && uintptr(p) < gp.stack.hi {
		debugcall.go#L28: 	if getg() != getg().m.curg {
		debugcall.go#L31: 	if sp := getcallersp(); !(getg().stack.lo < sp && sp <= getg().stack.hi) {
		debugcall.go#L105: 	gp := getg()
		debugcall.go#L194: 	getg().schedlink.set(callingG)
		debuglog.go#L108: 	gp := getg()
		heapdump.go#L694: 	_g_ := getg()
		iface.go#L126: 	if getg().m.mallocing != 0 {
		lock_sema.go#L40: 	gp := getg()
		lock_sema.go#L103: 	gp := getg()
		lock_sema.go#L166: 	gp := getg()
		lock_sema.go#L199: 	gp = getg()
		lock_sema.go#L278: 	gp := getg()
		lock_sema.go#L289: 	gp := getg()
		malloc.go#L938: 		if inittrace.active && inittrace.id == getg().goid {
		malloc.go#L949: 		assistG = getg()
		malloc.go#L970: 	if mp.gsignal == getg() {
		malloc.go#L1142: 		if inittrace.active && inittrace.id == getg().goid {
		malloc.go#L1233: 		if g := getg(); g == g.m.gsignal {
		mbitmap.go#L350: 	getg().m.traceback = 2
		mbitmap.go#L585: 	buf := &getg().m.p.ptr().wbBuf
		mbitmap.go#L627: 	buf := &getg().m.p.ptr().wbBuf
		mbitmap.go#L653: 	buf := &getg().m.p.ptr().wbBuf
		mbitmap.go#L714: 	buf := &getg().m.p.ptr().wbBuf
		mbitmap.go#L2001: 	if _g_ := getg(); _g_.m.curg.stack.lo <= uintptr(p) && uintptr(p) < _g_.m.curg.stack.hi {
		mbitmap.go#L2004: 		_g_ := getg()
		mcache.go#L127: 	pp := getg().m.p.ptr()
		mcheckmark.go#L85: 		getg().m.traceback = 2
		mfinal.go#L172: 			gp := getg()
		mgc.go#L696: 	gp := getg()
		mgc.go#L805: 	p := getg().m.p.ptr()
		mgc.go#L1218: 		work.sweepWaiters.list.push(getg())
		mgc.go#L1298: 	if gp := getg(); gp == mp.g0 || mp.locks > 1 || mp.preemptoff != "" {
		mgc.go#L1518: 		gp := getg().m.curg
		mgc.go#L1561: 	getg().m.preemptoff = "gcing"
		mgc.go#L1590: 		getg().m.preemptoff = ""
		mgc.go#L1637: 	_g_ := getg()
		mgc.go#L1668: 			gcw := &getg().m.p.ptr().gcw
		mgc.go#L1670: 			wbBufFlush1(getg().m.p.ptr())
		mgc.go#L1878: 	gp := getg()
		mgcmark.go#L211: 			userG := getg().m.curg
		mgcmark.go#L390: 	if getg() == gp.m.g0 {
		mgcmark.go#L393: 	if mp := getg().m; mp.locks > 0 || mp.preemptoff != "" {
		mgcmark.go#L537: 	gcw := &getg().m.p.ptr().gcw
		mgcmark.go#L602: 	gp := getg()
		mgcmark.go#L714: 	if gp == getg() {
		mgcmark.go#L986: 	gp := getg().m.curg
		mgcmark.go#L1104: 	gp := getg().m.curg
		mgcmark.go#L1396: 		gcw := &getg().m.p.ptr().gcw
		mgcmark.go#L1425: 			getg().m.traceback = 2
		mgcmark.go#L1529: 	gcw := &getg().m.p.ptr().gcw
		mgcscavenge.go#L253: 	scavenge.g = getg()
		mgcsweep.go#L157: 	sweep.g = getg()
		mgcsweep.go#L189: 	_g_ := getg()
		mgcsweep.go#L290: 	_g_ := getg()
		mgcsweep.go#L323: 	_g_ := getg()
		mgcsweep.go#L465: 		getg().m.p.ptr().traceReclaimed += uintptr(nfreed) * s.elemsize
		mgcwork.go#L469: 		gp := getg().m.curg
		mheap.go#L1038: 	pp := getg().m.p.ptr()
		mheap.go#L1063: 	pp := getg().m.p.ptr()
		mheap.go#L1095: 	pp := getg().m.p.ptr()
		mheap.go#L1126: 	gp := getg()
		mheap.go#L1502: 	gp := getg()
		mprof.go#L415: 	gp := getg()
		mprof.go#L724: 	gp := getg()
		mprof.go#L810: 		gp := getg()
		mprof.go#L814: 			g0 := getg()
		mprof.go#L843: 	gp := getg()
		mprof.go#L868: 	gp := getg()
		mprof.go#L884: 	gp := getg()
		mstats.go#L863: 	if pp := getg().m.p.ptr(); pp != nil {
		mstats.go#L886: 	if pp := getg().m.p.ptr(); pp != nil {
		mwbbuf.go#L179: 	if getg().m.dying > 0 {
		mwbbuf.go#L183: 		getg().m.p.ptr().wbBuf.discard()
		mwbbuf.go#L193: 			getg().m.p.ptr().wbBuf.discard()
		mwbbuf.go#L201: 		wbBufFlush1(getg().m.p.ptr())
		os_darwin.go#L41: 	mp := getg().m
		os_darwin.go#L315: 	getg().m.procid = uint64(pthread_self())
		panic.go#L38: 	gp := getg()
		panic.go#L52: 	gp := getg()
		panic.go#L224: 	gp := getg()
		panic.go#L277: 	gp := getg()
		panic.go#L395: 	gp := getg()
		panic.go#L451: 	pp := getg().m.p.ptr()
		panic.go#L525: 	gp := getg()
		panic.go#L583: 	gp := getg()
		panic.go#L886: 	gp := getg()
		panic.go#L1092: 	gp := getg()
		panic.go#L1113: 	gp := getg()
		panic.go#L1166: 	gp := getg()
		panic.go#L1193: 	gp := getg()
		panic.go#L1240: 	_g_ := getg()
		panic.go#L1302: 	_g_ := getg()
		panic.go#L1344: 	_g_ := getg()
		preempt.go#L106: 	if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
		preempt.go#L303: 	gp := getg()
		print.go#L67: 	mp := getg().m
		print.go#L77: 	mp := getg().m
		print.go#L91: 	gp := getg()
		proc.go#L116: 	g := getg()
		proc.go#L170: 		inittrace.id = getg().goid
		proc.go#L268: 	forcegc.g = getg()
		proc.go#L409: 	gp := getg()
		proc.go#L488: 	gp := getg()
		proc.go#L623: 	_g_ := getg()
		proc.go#L690: 	_g_ := getg()
		proc.go#L723: 	_g_ := getg()
		proc.go#L780: 	_g_ := getg()
		proc.go#L982: 	gp := getg()
		proc.go#L1074: 	_g_ := getg()
		proc.go#L1247: 	_g_ := getg()
		proc.go#L1285: 	_g_ := getg()
		proc.go#L1338: 	g := getg()
		proc.go#L1359: 	g := getg()
		proc.go#L1471: 	_p_ := getg().m.p.ptr()
		proc.go#L1590: 	_g_ := getg()
		proc.go#L1684: 	p := getg().m.p.ptr()
		proc.go#L1721: 	_g_ := getg()
		proc.go#L1857: 	_g_ := getg()
		proc.go#L1966: 	mp := getg().m
		proc.go#L1995: 	return uintptr(unsafe.Pointer(getg().m))
		proc.go#L2078: 	if gp := getg(); gp != nil && gp.m != nil && (gp.m.lockedExt != 0 || gp.m.incgo) && GOOS != "plan9" {
		proc.go#L2162: 	_g_ := getg()
		proc.go#L2242: 	_g_ := getg()
		proc.go#L2264: 	getg().m.spinning = true
		proc.go#L2439: 	_g_ := getg()
		proc.go#L2466: 	_g_ := getg()
		proc.go#L2486: 	_g_ := getg()
		proc.go#L2520: 	_g_ := getg()
		proc.go#L2555: 	_g_ := getg()
		proc.go#L2928: 	p := getg().m.p.ptr()
		proc.go#L2964: 	_g_ := getg()
		proc.go#L3020: 	pp := getg().m.p.ptr()
		proc.go#L3052: 	_g_ := getg()
		proc.go#L3175: 	_g_ := getg()
		proc.go#L3212: 		if pp != getg().m.p.ptr() || int(atomic.Load(&pp.deletedTimers)) <= int(atomic.Load(&pp.numTimers)/4) {
		proc.go#L3237: 	if pp == getg().m.p.ptr() && int(atomic.Load(&pp.deletedTimers)) > len(pp.timers)/4 {
		proc.go#L3253: 	_g_ := getg()
		proc.go#L3377: 	_g_ := getg()
		proc.go#L3446: 	_g_ := getg()
		proc.go#L3499: 	_g_ := getg()
		proc.go#L3578: 	_g_ := getg()
		proc.go#L3598: 	_g_ := getg()
		proc.go#L3641: 		traceGoSysBlock(getg().m.p.ptr())
		proc.go#L3659: 	_g_ := getg()
		proc.go#L3733: 	_g_ := getg()
		proc.go#L3777: 	_g_ := getg()
		proc.go#L3814: 	_g_ := getg()
		proc.go#L3844: 	gp := getg().m.curg
		proc.go#L3868: 	gp := getg().m.curg
		proc.go#L3911: 	msigrestore(getg().m.sigmask)
		proc.go#L3976: 	gp := getg()
		proc.go#L3981: 		_p_ := getg().m.p.ptr()
		proc.go#L4000: 	_g_ := getg()
		proc.go#L4243: 	_g_ := getg()
		proc.go#L4271: 	_g_ := getg()
		proc.go#L4282: 	getg().m.lockedInt++
		proc.go#L4294: 	_g_ := getg()
		proc.go#L4317: 	_g_ := getg()
		proc.go#L4327: 	_g_ := getg()
		proc.go#L4405: 	getg().m.mallocing++
		proc.go#L4535: 	getg().m.mallocing--
		proc.go#L4611: 	_g_ := getg()
		proc.go#L4700: 		plocal := getg().m.p.ptr()
		proc.go#L4752: 			mp := getg().m
		proc.go#L4838: 	_g_ := getg()
		proc.go#L4937: 	_g_ := getg()
		proc.go#L4957: 	_g_ := getg()
		proc.go#L5084: 	getg().m.throwing = -1 // do not dump full stacks
		proc.go#L5362: 	if mp == nil || mp == getg().m {
		proc.go#L6091: 	_g_ := getg()
		proc.go#L6100: 	_g_ := getg()
		proc.go#L6140: 	if p := getg().m.p.ptr(); !runqempty(p) {
		proflabel.go#L34: 	getg().labels = labels
		proflabel.go#L39: 	return getg().labels
		rdebug.go#L18: 	_g_ := getg()
		runtime1.go#L38: 	_g_ := getg()
		runtime1.go#L468: 	_g_ := getg()
		runtime1.go#L475: 	_g_ := getg()
		rwmutex.go#L50: 				m := getg().m
		rwmutex.go#L78: 	releasem(getg().m)
		rwmutex.go#L85: 	m := getg().m
		select.go#L289: 	gp = getg()
		sema.go#L99: 	gp := getg()
		sema.go#L195: 		if s.ticket == 1 && getg().m.locks == 0 {
		sema.go#L235: 	s.g = getg()
		sema.go#L499: 	s.g = getg()
		signal_unix.go#L314: 	getg().m.profilehz = hz
		signal_unix.go#L401: 	return getg()
		signal_unix.go#L537: 	_g_ := getg()
		signal_unix.go#L716: 	g := getg()
		signal_unix.go#L1102: 	_g_ := getg()
		signal_unix.go#L1123: 	nmask := getg().m.sigmask
		signal_unix.go#L1136: 	if getg().m.newSigstack {
		signal_unix.go#L1146: 		restoreGsignalStack(&getg().m.goSigStack)
		signal_unix.go#L1186: 	g := getg()
		signal_unix.go#L1205: 	gp := getg().m.gsignal
		signal_unix.go#L1227: 	g := getg()
		stack.go#L331: 	thisg := getg()
		stack.go#L428: 	gp := getg()
		stack.go#L605: 				getg().m.traceback = 2
		stack.go#L939: 	thisg := getg()
		stack.go#L1134: 		if !(gp == getg().m.curg && getg() != getg().m.curg && s == _Grunning) {
		stack.go#L1145: 	if gp == getg().m.curg && gp.m.libcallsp != 0 {
		string.go#L122: 	stk := getg().stack
		stubs.go#L18: func getg() *g
		stubs.go#L118: 	mp := getg().m
		sys_libc.go#L18: 	gp := getg()
		time.go#L181: 	gp := getg()
		time.go#L269: 	pp := getg().m.p.ptr()
		time.go#L489: 		pp := getg().m.p.ptr()
		time.go#L557: 	gp := getg()
		time.go#L857: 		ppcur := getg().m.p.ptr()
		time.go#L890: 		gp := getg()
		time.go#L904: 		gp := getg()
		trace.go#L215: 	_g_ := getg()
		trace.go#L228: 			gp.tracelastp = getg().m.p
		trace.go#L384: 	trace.lockOwner = getg()
		trace.go#L410: 		trace.reader.set(getg())
		trace.go#L535: 		if getg() == mp.curg {
		trace.go#L592: 	_g_ := getg()
		trace.go#L626: 	releasem(getg().m)
		trace.go#L632: 	dolock := owner == nil || owner != getg().m.curg
		trace.go#L976: 	traceEvent(traceEvProcStart, -1, uint64(getg().m.id))
		trace.go#L1015: 	_p_ := getg().m.p.ptr()
		trace.go#L1027: 	_p_ := getg().m.p.ptr()
		trace.go#L1037: 	_p_ := getg().m.p.ptr()
		trace.go#L1057: 	newg.tracelastp = getg().m.p
		trace.go#L1064: 	_g_ := getg().m.curg
		trace.go#L1082: 	_g_ := getg()
		trace.go#L1088: 	_g_ := getg()
		trace.go#L1101: 	_p_ := getg().m.p
		trace.go#L1128: 	_g_ := getg().m.curg
		traceback.go#L92: 	if ourg := getg(); ourg == gp && ourg == ourg.m.curg {
		traceback.go#L797: 	gp := getg()
		traceback.go#L812: 	g := getg()
		traceback.go#L920: 	curgp := getg().m.curg
		traceback.go#L947: 		if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {
		traceback.go#L1315: 	if panicking > 0 || getg().m.curg != getg() {
		traceback.go#L1332: 	if panicking > 0 || getg().m.curg != getg() {