- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for GoUndetermined (0.2 sec)
-
src/cmd/trace/goroutinegen.go
// Handle syscalls. if to == trace.GoSyscall { start := ev.Time() if from == trace.GoUndetermined { // Back-date the event to the start of the trace. start = ctx.startTime } // Write down that we've entered a syscall. Note: we might have no G or P here // if we're in a cgo callback or this is a transition from GoUndetermined // (i.e. the G has been blocked in a syscall). gs.syscallBegin(start, goID, ev.Stack())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/trace/threadgen.go
// Handle syscalls. if to == trace.GoSyscall { start := ev.Time() if from == trace.GoUndetermined { // Back-date the event to the start of the trace. start = ctx.startTime } // Write down that we've entered a syscall. Note: we might have no P here // if we're in a cgo callback or this is a transition from GoUndetermined // (i.e. the G has been blocked in a syscall). gs.syscallBegin(start, ev.Thread(), ev.Stack())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/trace/procgen.go
if to == trace.GoSyscall && ev.Proc() != trace.NoProc { start := ev.Time() if from == trace.GoUndetermined { // Back-date the event to the start of the trace. start = ctx.startTime } // Write down that we've entered a syscall. Note: we might have no P here // if we're in a cgo callback or this is a transition from GoUndetermined // (i.e. the G has been blocked in a syscall). gs.syscallBegin(start, ev.Proc(), ev.Stack())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/trace/viewer.go
File: f.File, Line: int(f.Line), }) return true }) return frames } func viewerGState(state trace.GoState, inMarkAssist bool) traceviewer.GState { switch state { case trace.GoUndetermined: return traceviewer.GDead case trace.GoNotExist: return traceviewer.GDead case trace.GoRunnable: return traceviewer.GRunnable case trace.GoRunning: return traceviewer.GRunning case trace.GoWaiting:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.4K bytes - Viewed (0) -
src/internal/trace/resources.go
const NoGoroutine = GoID(-1) // GoState represents the state of a goroutine. // // New GoStates may be added in the future. Users of this type must be robust // to that possibility. type GoState uint8 const ( GoUndetermined GoState = iota // No information is known about the goroutine. GoNotExist // Goroutine does not exist. GoRunnable // Goroutine is runnable but not running.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 8K bytes - Viewed (0)