Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for syscallpc (0.15 sec)

  1. 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)
  2. src/runtime/traceback.go

    		// instead on the g0 stack.
    		throw("cannot trace user goroutine on its own stack")
    	}
    
    	if pc0 == ^uintptr(0) && sp0 == ^uintptr(0) { // Signal to fetch saved values from gp.
    		if gp.syscallsp != 0 {
    			pc0 = gp.syscallpc
    			sp0 = gp.syscallsp
    			if usesLR {
    				lr0 = 0
    			}
    		} else {
    			pc0 = gp.sched.pc
    			sp0 = gp.sched.sp
    			if usesLR {
    				lr0 = gp.sched.lr
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K 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. src/runtime/proc.go

    	pc := getcallerpc()
    	sp := getcallersp()
    	bp := getcallerfp()
    	save(pc, sp, bp)
    	gp.syscallsp = gp.sched.sp
    	gp.syscallpc = gp.sched.pc
    	gp.syscallbp = gp.sched.bp
    	if gp.syscallsp < gp.stack.lo || gp.stack.hi < gp.syscallsp {
    		sp1 := sp
    		sp2 := gp.sched.sp
    		sp3 := gp.syscallsp
    		systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  8. src/syscall/syscall_openbsd_libc.go

    }
    
    // Implemented in the runtime package (runtime/sys_openbsd3.go)
    func syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func syscallX(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func syscall6X(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func syscall10(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/runtime/sys_openbsd3.go

    	entersyscall()
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(syscallX)), unsafe.Pointer(&fn))
    	exitsyscall()
    	return
    }
    func syscallX()
    
    // golang.org/x/sys linknames syscall.syscall6
    // (in addition to standard package syscall).
    // Do not remove or change the type signature.
    //
    //go:linkname syscall_syscall6 syscall.syscall6
    //go:nosplit
    //go:cgo_unsafe_args
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/runtime/sys_darwin.go

    // (in addition to standard package syscall).
    // Do not remove or change the type signature.
    //
    // syscall.syscall6 is meant for package syscall (and x/sys),
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/tetratelabs/wazero
    //
    // See go.dev/issue/67401.
    //
    //go:linkname syscall_syscall6 syscall.syscall6
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top