Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsSystemGoroutine (0.18 sec)

  1. src/internal/trace/summary.go

    			if _, ok := gmap[edge.operand]; ok {
    				gmap1[edge.operator] = struct{}{}
    			}
    		}
    		gmap = gmap1
    	}
    	return gmap
    }
    
    func IsSystemGoroutine(entryFn string) bool {
    	// This mimics runtime.isSystemGoroutine as closely as
    	// possible.
    	// Also, locked g in extra M (with empty entryFn) is system goroutine.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. src/cmd/trace/gstate.go

    	if gs.named {
    		return
    	}
    	if stk == trace.NoStack {
    		return
    	}
    	name := lastFunc(stk)
    	gs.baseName += fmt.Sprintf(" %s", name)
    	gs.named = true
    	gs.isSystemG = trace.IsSystemGoroutine(name)
    }
    
    // setLabel adds an additional label to the goroutine's name.
    func (gs *gState[R]) setLabel(label string) {
    	gs.label = label
    }
    
    // name returns a name for the goroutine.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. src/runtime/heapdump.go

    	}
    
    	dumpint(tagGoroutine)
    	dumpint(uint64(uintptr(unsafe.Pointer(gp))))
    	dumpint(uint64(sp))
    	dumpint(gp.goid)
    	dumpint(uint64(gp.gopc))
    	dumpint(uint64(readgstatus(gp)))
    	dumpbool(isSystemGoroutine(gp, false))
    	dumpbool(false) // isbackground
    	dumpint(uint64(gp.waitsince))
    	dumpstr(gp.waitreason.String())
    	dumpint(uint64(uintptr(gp.sched.ctxt)))
    	dumpint(uint64(uintptr(unsafe.Pointer(gp.m))))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top