Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for goStateTransition (0.1 sec)

  1. 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:
    		s = goStateTransition(e.ctx.G, GoRunning, GoNotExist)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  2. src/internal/trace/resources.go

    	Stack Stack
    
    	// The actual transition data. Stored in a neutral form so that
    	// we don't need fields for every kind of resource.
    	id       int64
    	oldState uint8
    	newState uint8
    }
    
    func goStateTransition(id GoID, from, to GoState) StateTransition {
    	return StateTransition{
    		Resource: ResourceID{Kind: ResourceGoroutine, id: int64(id)},
    		oldState: uint8(from),
    		newState: uint8(to),
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top