Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for syscallpc (0.17 sec)

  1. src/runtime/runtime-gdb.py

    	status = ptr['atomicstatus']['value']&~G_SCAN
    	# Goroutine is not running nor in syscall, so use the info in goroutine
    	if status != G_RUNNING and status != G_SYSCALL:
    		return pc.cast(vp), sp.cast(vp)
    
    	# If the goroutine is in a syscall, use syscallpc/sp.
    	pc, sp = ptr['syscallpc'], ptr['syscallsp']
    	if sp != 0:
    		return pc.cast(vp), sp.cast(vp)
    	# Otherwise, the goroutine is running, so it doesn't have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  2. src/runtime/tracestack.go

    			// in a syscall, in which case it's currently not executing. gp.sched contains the most
    			// up-to-date information about where it stopped, and like case (1), we match gcallers
    			// here.
    			//
    			// (3) We're called against a gp that we're not currently executing on, but that is in
    			// a syscall, in which case gp.syscallsp != 0. gp.syscall* contains the most up-to-date
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/runtime/heapdump.go

    	if stkmap != nil {
    		child.args = stackmapdata(stkmap, pcdata)
    	} else {
    		child.args.n = -1
    	}
    	return
    }
    
    func dumpgoroutine(gp *g) {
    	var sp, pc, lr uintptr
    	if gp.syscallsp != 0 {
    		sp = gp.syscallsp
    		pc = gp.syscallpc
    		lr = 0
    	} else {
    		sp = gp.sched.sp
    		pc = gp.sched.pc
    		lr = gp.sched.lr
    	}
    
    	dumpint(tagGoroutine)
    	dumpint(uint64(uintptr(unsafe.Pointer(gp))))
    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/runtime2.go

    	_defer    *_defer // innermost defer
    	m         *m      // current m; offset known to arm liblink
    	sched     gobuf
    	syscallsp uintptr // if status==Gsyscall, syscallsp = sched.sp to use during gc
    	syscallpc uintptr // if status==Gsyscall, syscallpc = sched.pc to use during gc
    	syscallbp uintptr // if status==Gsyscall, syscallbp = sched.bp to use in fpTraceback
    	stktopsp  uintptr // expected sp at top of stack, to check in traceback
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  5. src/runtime/stack.go

    		throw("runtime: wrong goroutine in newstack")
    	}
    
    	gp := thisg.m.curg
    
    	if thisg.m.curg.throwsplit {
    		// Update syscallsp, syscallpc in case traceback uses them.
    		morebuf := thisg.m.morebuf
    		gp.syscallsp = morebuf.sp
    		gp.syscallpc = morebuf.pc
    		pcname, pcoff := "(unknown)", uintptr(0)
    		f := findfunc(gp.sched.pc)
    		if f.valid() {
    			pcname = funcname(f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  6. src/runtime/cgocall.go

    	savedpc := gp.syscallpc
    	savedbp := gp.syscallbp
    	exitsyscall() // coming out of cgo call
    	gp.m.incgo = false
    	if gp.m.isextra {
    		gp.m.isExtraInC = false
    	}
    
    	osPreemptExtExit(gp.m)
    
    	if gp.nocgocallback {
    		panic("runtime: function marked with #cgo nocallback called back into Go")
    	}
    
    	cgocallbackg1(fn, frame, ctxt)
    
    	// At this point we're about to call unlockOSThread.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. api/go1.18.txt

    pkg syscall (windows-386), func SyscallN(uintptr, ...uintptr) (uintptr, uintptr, Errno)
    pkg syscall (windows-amd64), func Syscall //deprecated
    pkg syscall (windows-amd64), func Syscall12 //deprecated
    pkg syscall (windows-amd64), func Syscall15 //deprecated
    pkg syscall (windows-amd64), func Syscall18 //deprecated
    pkg syscall (windows-amd64), func Syscall6 //deprecated
    pkg syscall (windows-amd64), func Syscall9 //deprecated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  8. src/runtime/sys_openbsd_ppc64.s

    ok:
    	RET
    
    // syscall6X calls a function in libc on behalf of the syscall package.
    // syscall6X takes a pointer to a struct like:
    // struct {
    //	fn    uintptr
    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	a4    uintptr
    //	a5    uintptr
    //	a6    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscall6X must be called on the g0 stack with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. src/runtime/sys_openbsd_arm64.s

    	CMP	$-1, R0
    	BNE	3(PC)
    	MOVD	$0, R0			// crash on syscall failure
    	MOVD	R0, (R0)
    	RET
    
    // syscall calls a function in libc on behalf of the syscall package.
    // syscall takes a pointer to a struct like:
    // struct {
    //	fn    uintptr
    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscall must be called on the g0 stack with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  10. src/runtime/sys_openbsd_riscv64.s

    ok:
    	RET
    
    // syscall6X calls a function in libc on behalf of the syscall package.
    // syscall6X takes a pointer to a struct like:
    // struct {
    //	fn    uintptr
    //	a1    uintptr
    //	a2    uintptr
    //	a3    uintptr
    //	a4    uintptr
    //	a5    uintptr
    //	a6    uintptr
    //	r1    uintptr
    //	r2    uintptr
    //	err   uintptr
    // }
    // syscall6X must be called on the g0 stack with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 16.8K bytes
    - Viewed (0)
Back to top