Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ProcSyscallAbandoned (0.17 sec)

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

    		return "Syscall"
    	case GoWaiting:
    		return "Waiting"
    	}
    	return "Bad"
    }
    
    type ProcStatus uint8
    
    const (
    	ProcBad ProcStatus = iota
    	ProcRunning
    	ProcIdle
    	ProcSyscall
    	ProcSyscallAbandoned
    )
    
    func (s ProcStatus) String() string {
    	switch s {
    	case ProcRunning:
    		return "Running"
    	case ProcIdle:
    		return "Idle"
    	case ProcSyscall:
    		return "Syscall"
    	}
    	return "Bad"
    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/internal/trace/event.go

    	case go122.EvProcSteal:
    		// N.B. ordering.advance populates e.base.extra.
    		beforeState := ProcRunning
    		if go122.ProcStatus(e.base.extra(version.Go122)[0]) == go122.ProcSyscallAbandoned {
    			// We've lost information because this ProcSteal advanced on a
    			// SyscallAbandoned state. Treat the P as idle because ProcStatus
    			// treats SyscallAbandoned as Idle. Otherwise we'll have an invalid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top