Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for ProcID (0.15 sec)

  1. src/internal/trace/event.go

    			// transition.
    			beforeState = ProcIdle
    		}
    		s = procStateTransition(ProcID(e.base.args[0]), beforeState, ProcIdle)
    	case go122.EvProcStatus:
    		// N.B. ordering.advance populates e.base.extra.
    		s = procStateTransition(ProcID(e.base.args[0]), ProcState(e.base.extra(version.Go122)[0]), go122ProcStatus2ProcState[e.base.args[1]])
    	case go122.EvGoCreate, go122.EvGoCreateBlocked:
    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/cmd/trace/gstate.go

    type resource interface {
    	trace.GoID | trace.ProcID | trace.ThreadID
    }
    
    // noResource indicates the lack of a resource.
    const noResource = -1
    
    // gState represents the trace viewer state of a goroutine in a trace.
    //
    // The type parameter on this type is the resource which is used to construct
    // a timeline of events. e.g. R=ProcID for a proc-oriented view, R=GoID for
    // a goroutine-oriented view, etc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. src/runtime/cgocall.go

    		hi := g0.stack.hi
    		lo := g0.stack.lo
    		g0.stack.hi = sp + 1024
    		g0.stack.lo = sp - 32*1024
    		g0.stackguard0 = g0.stack.lo + stackGuard
    		g0.stackguard1 = g0.stackguard0
    
    		print("M ", mp.id, " procid ", mp.procid, " runtime: cgocallback with sp=", hex(sp), " out of bounds [", hex(lo), ", ", hex(hi), "]")
    		print("\n")
    		exit(2)
    	}
    
    	if !mp.isextra {
    		// We allocated the stack for standard Ms. Don't replace the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. src/internal/trace/generation.go

    		if err != nil {
    			return nil, err
    		}
    		mid := ThreadID(m)
    
    		// Read the sample's P.
    		p, err := binary.ReadUvarint(r)
    		if err != nil {
    			return nil, err
    		}
    		pid := ProcID(p)
    
    		// Read the sample's G.
    		g, err := binary.ReadUvarint(r)
    		if err != nil {
    			return nil, err
    		}
    		goid := GoID(g)
    		if g == 0 {
    			goid = NoGoroutine
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/runtime/sys_linux_riscv64.s

    	BEQ	ZERO, A0, child
    	MOVW	ZERO, ret+40(FP)
    	RET
    
    child:
    	// In child, on new stack.
    	MOV	-32(X2), T0
    	MOV	$1234, A0
    	BEQ	A0, T0, good
    	WORD	$0	// crash
    
    good:
    	// Initialize m->procid to Linux tid
    	MOV	$SYS_gettid, A7
    	ECALL
    
    	MOV	-24(X2), T2	// fn
    	MOV	-16(X2), T1	// g
    	MOV	-8(X2), T0	// m
    
    	BEQ	ZERO, T0, nog
    	BEQ	ZERO, T1, nog
    
    	MOV	A0, m_procid(T0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. src/runtime/os_windows.go

    		print("runtime.minit: duplicatehandle failed; errno=", getlasterror(), "\n")
    		throw("runtime.minit: duplicatehandle failed")
    	}
    
    	mp := getg().m
    	lock(&mp.threadLock)
    	mp.thread = thandle
    	mp.procid = uint64(stdcall0(_GetCurrentThreadId))
    
    	// Configure usleep timer, if possible.
    	if mp.highResTimer == 0 && haveHighResTimer {
    		mp.highResTimer = createHighResTimer()
    		if mp.highResTimer == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  7. src/runtime/sys_linux_loong64.s

    	// In parent, return.
    	BEQ	R4, 3(PC)
    	MOVW	R4, ret+40(FP)
    	RET
    
    	// In child, on new stack.
    	MOVV	-32(R3), R23
    	MOVV	$1234, R19
    	BEQ	R23, R19, 2(PC)
    	MOVV	R0, 0(R0)
    
    	// Initialize m->procid to Linux tid
    	MOVV	$SYS_gettid, R11
    	SYSCALL
    
    	MOVV	-24(R3), R25		// fn
    	MOVV	-16(R3), R24		// g
    	MOVV	-8(R3), R23		// m
    
    	BEQ	R23, nog
    	BEQ	R24, nog
    
    	MOVV	R4, m_procid(R23)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. src/runtime/os2_aix.go

    }
    
    //go:nosplit
    func pthread_self() pthread {
    	r, _ := syscall0(&libpthread_self)
    	return pthread(r)
    }
    
    //go:nosplit
    func signalM(mp *m, sig int) {
    	syscall2(&libpthread_kill, uintptr(pthread(mp.procid)), uintptr(sig))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  9. src/runtime/heapdump.go

    	iterate_itabs(itab_callback)
    }
    
    func dumpms() {
    	for mp := allm; mp != nil; mp = mp.alllink {
    		dumpint(tagOSThread)
    		dumpint(uint64(uintptr(unsafe.Pointer(mp))))
    		dumpint(uint64(mp.id))
    		dumpint(mp.procid)
    	}
    }
    
    //go:systemstack
    func dumpmemstats(m *MemStats) {
    	assertWorldStopped()
    
    	// These ints should be identical to the exported
    	// MemStats structure and should be ordered the same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/runtime/sys_linux_ppc64x.s

    	RET
    
    	// In child, on new stack.
    	// initialize essential registers
    	BL	runtime·reginit(SB)
    	MOVD	-32(R1), R7
    	CMP	R7, $1234
    	BEQ	2(PC)
    	MOVD	R0, 0(R0)
    
    	// Initialize m->procid to Linux tid
    	SYSCALL $SYS_gettid
    
    	MOVD	-24(R1), R12       // fn
    	MOVD	-16(R1), R8        // g
    	MOVD	-8(R1), R7         // m
    
    	CMP	R7, $0
    	BEQ	nog
    	CMP	R8, $0
    	BEQ	nog
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top