Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/tracestack.go

    			// where a running goroutine might be in _Gwaiting, and these cases
    			// are totally fine for taking a stack trace. They're captured
    			// correctly in goStatusToTraceGoStatus.
    			switch goStatusToTraceGoStatus(status, gp.waitreason) {
    			case traceGoRunning, traceGoSyscall:
    				if getg() == gp || mp.curg == gp {
    					break
    				}
    				fallthrough
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/runtime/trace.go

    		// traced in gen between when we recorded it and now. If that's true, the goid
    		// and status we recorded then is exactly what we want right now.
    		status := goStatusToTraceGoStatus(ug.status, ug.waitreason)
    		statusWriter = statusWriter.writeGoStatus(ug.goid, ug.mid, status, ug.inMarkAssist, ug.stackID)
    	}
    	statusWriter.flush().end()
    
    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