Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 67 of 67 for ProcID (0.12 sec)

  1. 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)
  2. src/runtime/sys_linux_386.s

    	INVOKE_SYSCALL
    
    	MOVL	0(SP), BX	    // m
    	MOVL	4(SP), DX	    // g
    	MOVL	8(SP), SI	    // fn
    
    	CMPL	BX, $0
    	JEQ	nog
    	CMPL	DX, $0
    	JEQ	nog
    
    	MOVL	AX, m_procid(BX)	// save tid as m->procid
    
    	// set up ldt 7+id to point at m->tls.
    	LEAL	m_tls(BX), BP
    	MOVL	m_id(BX), DI
    	ADDL	$7, DI	// m0 is LDT#7. count up.
    	// setldt(tls#, &tls, sizeof tls)
    	PUSHAL	// save registers
    	PUSHL	$32	// sizeof tls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  3. src/runtime/sys_linux_arm64.s

    	RET
    child:
    
    	// In child, on new stack.
    	MOVD	-32(RSP), R10
    	MOVD	$1234, R0
    	CMP	R0, R10
    	BEQ	good
    	MOVD	$0, R0
    	MOVD	R0, (R0)	// crash
    
    good:
    	// Initialize m->procid to Linux tid
    	MOVD	$SYS_gettid, R8
    	SVC
    
    	MOVD	-24(RSP), R12     // fn
    	MOVD	-16(RSP), R11     // g
    	MOVD	-8(RSP), R10      // m
    
    	CMP	$0, R10
    	BEQ	nog
    	CMP	$0, R11
    	BEQ	nog
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  4. src/runtime/traceruntime.go

    //
    // Must be called with a valid P.
    func (tl traceLocker) GoSysCall() {
    	// Scribble down the M that the P is currently attached to.
    	pp := tl.mp.p.ptr()
    	pp.trace.mSyscallID = int64(tl.mp.procid)
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvGoSyscallBegin, pp.trace.nextSeq(tl.gen), tl.stack(1))
    }
    
    // GoSysExit emits a GoSyscallEnd event, possibly along with a GoSyscallBlocked event
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. src/runtime/trace.go

    			// that's running for the first time in this generation. Therefore,
    			// this should be relatively fast.
    			s := suspendG(gp)
    			if !s.dead {
    				ug.goid = s.g.goid
    				if s.g.m != nil {
    					ug.mid = int64(s.g.m.procid)
    				}
    				ug.status = readgstatus(s.g) &^ _Gscan
    				ug.waitreason = s.g.waitreason
    				ug.inMarkAssist = s.g.inMarkAssist
    				ug.stackID = traceStack(0, gp, gen)
    			}
    			resumeG(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. src/runtime/runtime2.go

    	morebuf gobuf  // gobuf arg to morestack
    	divmod  uint32 // div/mod denominator for arm - known to liblink
    	_       uint32 // align next field to 8 bytes
    
    	// Fields not known to debuggers.
    	procid        uint64            // for debuggers, but offset not hard-coded
    	gsignal       *g                // signal-handling g
    	goSigStack    gsignalStack      // Go-allocated signal handling stack
    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/proc.go

    	// destroyed respectively. The m then might get reused with a different procid but
    	// still with a reference to oldp, and still with the same syscalltick. The next
    	// time a G is "created" in needm, it'll return and quietly reacquire its P from a
    	// different m with a different procid, which will confuse the trace parser. By
    	// trashing syscalltick, we ensure that it'll appear as if we lost the P to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top