Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for ProcID (0.1 sec)

  1. src/runtime/sys_linux_arm.s

    	BEQ	nog
    
    	MOVW	R0, g
    	MOVW	R8, g_m(g)
    
    	// paranoia; check they are not nil
    	MOVW	0(R8), R0
    	MOVW	0(g), R0
    
    	BL	runtime·emptyfunc(SB)	// fault if stack check is wrong
    
    	// Initialize m->procid to Linux tid
    	MOVW	$SYS_gettid, R7
    	SWI	$0
    	MOVW	g_m(g), R8
    	MOVW	R0, m_procid(R8)
    
    nog:
    	// Call fn
    	MOVW	8(R13), R0
    	MOVW	$16(R13), R13
    	BL	(R0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/runtime/sys_linux_amd64.s

    	RET
    
    	// In child, on new stack.
    	MOVQ	SI, SP
    
    	// If g or m are nil, skip Go-related setup.
    	CMPQ	R13, $0    // m
    	JEQ	nog2
    	CMPQ	R9, $0    // g
    	JEQ	nog2
    
    	// Initialize m->procid to Linux tid
    	MOVL	$SYS_gettid, AX
    	SYSCALL
    	MOVQ	AX, m_procid(R13)
    
    	// In child, set up new stack
    	get_tls(CX)
    	MOVQ	R13, g_m(R9)
    	MOVQ	R9, g(CX)
    	MOVQ	R9, R14 // set g register
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top