- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for GoID (0.1 sec)
-
src/runtime/tracestack.go
case traceGoRunning, traceGoSyscall: if getg() == gp || mp.curg == gp { break } fallthrough default: print("runtime: gp=", unsafe.Pointer(gp), " gp.goid=", gp.goid, " status=", gStatusStrings[status], "\n") throw("attempted to trace stack of a goroutine this thread does not own") } } } if gp != nil && mp == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0) -
src/internal/trace/event.go
status = GoWaiting } s = goStateTransition(GoID(e.base.args[0]), GoNotExist, status) s.Stack = Stack{table: e.table, id: stackID(e.base.args[1])} case go122.EvGoCreateSyscall: s = goStateTransition(GoID(e.base.args[0]), GoNotExist, GoSyscall) case go122.EvGoStart: s = goStateTransition(GoID(e.base.args[0]), GoRunnable, GoRunning) case go122.EvGoDestroy:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:39:00 UTC 2024 - 28.9K bytes - Viewed (0) -
src/cmd/trace/regions.go
http.Error(w, err.Error(), http.StatusBadRequest) return } // Collect all the regions with their goroutines. type region struct { *trace.UserRegionSummary Goroutine trace.GoID NonOverlappingStats map[string]time.Duration HasRangeTime bool } var regions []region var maxTotal time.Duration validNonOverlappingStats := make(map[string]struct{})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 14.3K bytes - Viewed (0) -
src/runtime/trace.go
s := suspendG(gp) if !s.dead { ug.goid = s.g.goid if s.g.m != nil { ug.mid = int64(s.g.m.procid) } ug.status = readgstatus(s.g) &^ _Gscan ug.waitreason = s.g.waitreason ug.inMarkAssist = s.g.inMarkAssist ug.stackID = traceStack(0, gp, gen) } resumeG(s) casgstatus(me, _Gwaiting, _Grunning) }) if ug.goid != 0 { untracedGs = append(untracedGs, ug) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0) -
src/internal/trace/gc.go
// time at which procs changed. time int64 // n is the number of procs at that point. n int } out := [][]MutatorUtil{} stw := 0 ps := []perP{} inGC := make(map[GoID]bool) states := make(map[GoID]GoState) bgMark := make(map[GoID]bool) procs := []procsCount{} seenSync := false // Helpers. handleSTW := func(r Range) bool { return flags&UtilSTW != 0 && isGCSTW(r) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 26K bytes - Viewed (0) -
src/cmd/trace/gen.go
// lowest first. func emitTask(ctx *traceContext, task *trace.UserTaskSummary, sortIndex int) { // Collect information about the task. var startStack, endStack trace.Stack var startG, endG trace.GoID startTime, endTime := ctx.startTime, ctx.endTime if task.Start != nil { startStack = task.Start.Stack() startG = task.Start.Goroutine() startTime = task.Start.Time() } if task.End != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.5K bytes - Viewed (0) -
src/runtime/traceback_test.go
return [20]int{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1} } func TestTracebackParentChildGoroutines(t *testing.T) { parent := fmt.Sprintf("goroutine %d", runtime.Goid()) var wg sync.WaitGroup wg.Add(1) go func() { defer wg.Done() buf := make([]byte, 1<<10) // We collect the stack only for this goroutine (by passing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 22.9K bytes - Viewed (0) -
src/runtime/runtime2.go
// param may point to a savedOpenDeferState. param unsafe.Pointer atomicstatus atomic.Uint32 stackLock uint32 // sigprof/scang lock; TODO: fold in to atomicstatus goid uint64 schedlink guintptr waitsince int64 // approx time when the g become blocked waitreason waitReason // if status==Gwaiting
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/internal/trace/trace_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
src/runtime/heapdump.go
lr = 0 } else { sp = gp.sched.sp pc = gp.sched.pc lr = gp.sched.lr } 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())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 17.6K bytes - Viewed (0)