Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for curg (0.13 sec)

  1. src/runtime/sys_linux_ppc64x.s

    	CMP	$0, R6
    	BEQ	sigtramp    // g.m == nil
    	MOVW	m_ncgo(R6), R7
    	CMPW	$0, R7
    	BEQ	sigtramp    // g.m.ncgo = 0
    	MOVD	m_curg(R6), R7
    	CMP	$0, R7
    	BEQ	sigtramp    // g.m.curg == nil
    	MOVD	g_syscallsp(R7), R7
    	CMP	$0, R7
    	BEQ	sigtramp    // g.m.curg.syscallsp == 0
    	MOVD	m_cgoCallers(R6), R7 // R7 is the fifth arg in C calling convention.
    	CMP	$0, R7
    	BEQ	sigtramp    // g.m.cgoCallers == nil
    	MOVW	m_cgoCallersUse(R6), R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. src/internal/trace/trace_test.go

    		// Examine the execution tracer's view of the CPU profile samples. Filter it
    		// to only include samples from the single test goroutine. Use the goroutine
    		// ID that was recorded in the events: that should reflect getg().m.curg,
    		// same as the profiler's labels (even when the M is using its g0 stack).
    		totalTraceSamples := 0
    		traceSamples := 0
    		traceStacks := make(map[string]int)
    		r, err := trace.NewReader(bytes.NewReader(tb))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. src/runtime/race_ppc64le.s

    // See racecallback for command codes.
    TEXT	runtime·racecallbackthunk(SB), NOSPLIT|NOFRAME, $0
    	// Handle command raceGetProcCmd (0) here.
    	// First, code below assumes that we are on curg, while raceGetProcCmd
    	// can be executed on g0. Second, it is called frequently, so will
    	// benefit from this fast path.
    	MOVD	$0, R0		// clear R0 since we came from C code
    	CMP	R3, $0
    	BNE	rest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. src/runtime/trace.go

    		if gp.trace.statusWasTraced(gen) {
    			return
    		}
    		// Scribble down information about this goroutine.
    		ug := untracedG{gp: gp, mid: -1}
    		systemstack(func() {
    			me := getg().m.curg
    			// We don't have to handle this G status transition because we
    			// already eliminated ourselves from consideration above.
    			casGToWaitingForGC(me, _Grunning, waitReasonTraceGoroutineStatus)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. src/runtime/sema.go

    	semacquire1(addr, false, 0, 0, waitReasonSemacquire)
    }
    
    func semacquire1(addr *uint32, lifo bool, profile semaProfileFlags, skipframes int, reason waitReason) {
    	gp := getg()
    	if gp != gp.m.curg {
    		throw("semacquire not on the G stack")
    	}
    
    	// Easy case.
    	if cansemacquire(addr) {
    		return
    	}
    
    	// Harder case:
    	//	increment waiter count
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/runtime/runtime2.go

    	sigmask       sigset            // storage for saved signal mask
    	tls           [tlsSlots]uintptr // thread-local storage (for x86 extern register)
    	mstartfn      func()
    	curg          *g       // current running goroutine
    	caughtsig     guintptr // goroutine running during fatal signal
    	p             puintptr // attached p for executing go code (nil if not executing go code)
    	nextp         puintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  7. src/runtime/traceruntime.go

    }
    
    // GoStart emits a GoStart event.
    //
    // Must be called with a valid P.
    func (tl traceLocker) GoStart() {
    	gp := getg().m.curg
    	pp := gp.m.p
    	w := tl.eventWriter(traceGoRunnable, traceProcRunning)
    	w = w.write(traceEvGoStart, traceArg(gp.goid), gp.trace.nextSeq(tl.gen))
    	if pp.ptr().gcMarkWorkerMode != gcMarkWorkerNotWorker {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. src/runtime/export_test.go

    	// allocate and skew the stats.
    	metricsLock()
    	initMetrics()
    
    	systemstack(func() {
    		// Donate the racectx to g0. readMetricsLocked calls into the race detector
    		// via map access.
    		getg().racectx = getg().m.curg.racectx
    
    		// Read the metrics once before in case it allocates and skews the metrics.
    		// readMetricsLocked is designed to only allocate the first time it is called
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/aggregate/controller.go

    	registry.AppendServiceHandler(c.handlers.NotifyServiceHandlers)
    	registry.AppendServiceHandler(func(prev, curr *model.Service, event model.Event) {
    		for _, handlers := range c.getClusterHandlers() {
    			handlers.NotifyServiceHandlers(prev, curr, event)
    		}
    	})
    }
    
    func (c *Controller) getClusterHandlers() []*model.ControllerHandlers {
    	c.storeLock.Lock()
    	defer c.storeLock.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. cluster/gce/windows/smoke-test.sh

        -o jsonpath='{.spec.ports[?(@.protocol=="TCP")].port}')
      echo "curl-ing $service address from Linux pod: $service_ip:$service_port"
    
      # curl-ing the metrics-server service downloads 14 bytes of unprintable binary
      # data and sets a return code of success (0).
      if ! $kubectl exec "$linux_command_pod" -- \
          curl -s -m 20 --insecure "https://$service_ip:$service_port" &> $output_file; then
        cleanup_deployments
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top