Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for ProcID (0.14 sec)

  1. src/internal/trace/internal/testgen/go122/trace.go

    	case "gstatus":
    		u = uint64(arg.(go122.GoStatus))
    	case "g":
    		u = uint64(arg.(trace.GoID))
    	case "m":
    		u = uint64(arg.(trace.ThreadID))
    	case "p":
    		u = uint64(arg.(trace.ProcID))
    	case "string":
    		u = b.gen.String(arg.(string))
    	case "task":
    		u = uint64(arg.(trace.TaskID))
    	default:
    		panic(fmt.Sprintf("unsupported arg type %q for spec %q", typStr, argSpec))
    	}
    	return u
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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