Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GoStatus (0.09 sec)

  1. src/internal/trace/event/go122/event.go

    		Args:         []string{"dt", "id"},
    		IsTimedEvent: true,
    		Experiment:   AllocFree,
    	},
    }
    
    type GoStatus uint8
    
    const (
    	GoBad GoStatus = iota
    	GoRunnable
    	GoRunning
    	GoSyscall
    	GoWaiting
    )
    
    func (s GoStatus) String() string {
    	switch s {
    	case GoRunnable:
    		return "Runnable"
    	case GoRunning:
    		return "Running"
    	case GoSyscall:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top