- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 40 for GoStatus (0.3 sec)
-
src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc-bare-m.go
testgen.Main(gen) } func gen(t *testgen.Trace) { g := t.Generation(1) // One goroutine is exiting with a syscall. It already // acquired a new P. b0 := g.Batch(trace.ThreadID(0), 0) b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoSyscall) b0.Event("ProcStatus", trace.ProcID(1), go122.ProcIdle) b0.Event("ProcStart", trace.ProcID(1), testgen.Seq(1)) b0.Event("GoSyscallEndBlocked")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1009 bytes - Viewed (0) -
src/runtime/tracestatus.go
// special state indicates this to the parser, so it // doesn't try to find a GoSyscallEndBlocked that // corresponds with the ProcSteal. traceProcSyscallAbandoned ) // writeGoStatus emits a GoStatus event as well as any active ranges on the goroutine. func (w traceWriter) writeGoStatus(goid uint64, mid int64, status traceGoStatus, markAssist bool, stackID uint64) traceWriter {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 7.2K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go
b0.Event("GoCreateSyscall", trace.GoID(4)) b0.Event("GoSyscallEndBlocked") b0.Event("ProcStatus", trace.ProcID(0), go122.ProcIdle) b0.Event("ProcStart", trace.ProcID(0), testgen.Seq(1)) b0.Event("GoStatus", trace.GoID(4), trace.NoThread, go122.GoRunnable) b0.Event("GoStart", trace.GoID(4), testgen.Seq(1)) b0.Event("GoSyscallBegin", testgen.Seq(2), testgen.NoStack) b0.Event("GoDestroySyscall")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 2.3K bytes - Viewed (0) -
src/runtime/traceruntime.go
// In the latter, we're a goroutine in a syscall. goStatus := traceGoRunning procStatus := traceProcRunning if inSyscall { goStatus = traceGoSyscall procStatus = traceProcSyscallAbandoned } w := tl.eventWriter(goStatus, procStatus) // Emit the status of the P we're stealing. We may have *just* done this when creating the event
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 25.7K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-annotations-stress.test
UserRegionEnd dt=4 task=16 name_string=35 stack=28 GoDestroy dt=3 ProcStop dt=28 EventBatch gen=1 m=18446744073709551615 time=2753926855140 size=56 GoStatus dt=74 g=2 m=18446744073709551615 gstatus=4 GoStatus dt=3 g=3 m=18446744073709551615 gstatus=4 GoStatus dt=1 g=4 m=18446744073709551615 gstatus=4 GoStatus dt=1 g=17 m=18446744073709551615 gstatus=4 EventBatch gen=1 m=18446744073709551615 time=2753926855560 size=1759 Stacks Stack id=45 nframes=3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 38.3K bytes - Viewed (0) -
src/internal/trace/order.go
// Coroutines. Added in Go 1.23. go122.EvGoSwitch: (*ordering).advanceGoSwitch, go122.EvGoSwitchDestroy: (*ordering).advanceGoSwitch, go122.EvGoCreateBlocked: (*ordering).advanceGoCreate, // GoStatus event with a stack. Added in Go 1.23. go122.EvGoStatusStack: (*ordering).advanceGoStatus, // Experimental events. // Experimental heap span events. Added in Go 1.23.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
src/internal/trace/internal/testgen/go122/trace.go
case "stack": u = b.gen.Stack(arg.([]trace.StackFrame)) case "seq": u = uint64(arg.(Seq)) case "pstatus": u = uint64(arg.(go122.ProcStatus)) case "gstatus": u = uint64(arg.(go122.GoStatus)) case "g": u = uint64(arg.(trace.GoID)) case "m": u = uint64(arg.(trace.ThreadID)) case "p": u = uint64(arg.(trace.ProcID)) case "string": u = b.gen.String(arg.(string)) case "task":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 9.7K bytes - Viewed (0) -
src/internal/trace/oldtrace.go
mappedArgs = timedEventArgs{ev.Args[0], ^uint64(0), uint64(go122.GoWaiting)} delete(it.createdPreInit, GoID(ev.Args[0])) case oldtrace.EvGoInSyscall: mappedType = go122.EvGoStatus // In the new tracer, GoStatus with GoSyscall knows what thread the // syscall is on. In the old tracer, EvGoInSyscall doesn't contain that // information and all we can do here is specify NoThread.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/trace/testdata/go122.test
ProcStop dt=33 ProcStart dt=1506 p=6 p_seq=10 ProcStop dt=26 ProcStart dt=18634 p=7 p_seq=33 ProcStop dt=34 EventBatch gen=1 m=18446744073709551615 time=7689672466616 size=28 GoStatus dt=61 g=2 m=18446744073709551615 gstatus=4 GoStatus dt=3 g=5 m=18446744073709551615 gstatus=4 EventBatch gen=1 m=18446744073709551615 time=7689672467258 size=4540 Stacks Stack id=86 nframes=7 pc=4754167 func=24 file=25 line=736
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 17:15:58 UTC 2024 - 166K bytes - Viewed (0) -
src/runtime/trace.go
// traceRelease(trace) // } // // More precisely, if we readgstatus for a gp while another goroutine is in the problem // window and that goroutine didn't observe that tracing had begun, then we might write // a GoStatus(GoWaiting) event for that goroutine, but it won't trace an event marking // the transition from GoWaiting to GoRunnable. The trace will then be broken, because // future events will be emitted assuming the tracer sees GoRunnable.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0)