Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for syscallpc (0.13 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. src/syscall/syscall_darwin.go

    	if err != nil {
    		return n, err
    	}
    
    	return n, nil
    }
    
    // Implemented in the runtime package (runtime/sys_darwin.go)
    func syscall(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 rawSyscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/runtime/syscall_windows.go

    }
    
    //go:linkname syscall_Syscall15 syscall.Syscall15
    //go:nosplit
    func syscall_Syscall15(fn, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15 uintptr) (r1, r2, err uintptr) {
    	args := [...]uintptr{a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15}
    	return syscall_SyscallN(fn, args[:nargs]...)
    }
    
    //go:linkname syscall_Syscall18 syscall.Syscall18
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_aix_ppc64.go

    func fcntl(fd int, cmd int, arg int) (val int, err error) {
    	r0, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_fcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
    	val = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup2(old int, new int) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. src/syscall/zsyscall_openbsd_386.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  10. src/cmd/trace/gstate.go

    		name:       "syscall",
    		startTime:  gs.syscall.time,
    		endTime:    ts,
    		startStack: gs.syscall.stack,
    		arg:        format.BlockedArg{Blocked: blockString},
    	})
    	gs.syscall.active = false
    	gs.syscall.time = 0
    	gs.syscall.stack = trace.NoStack
    }
    
    // blockedSyscallEnd indicates the point at which the blocked syscall ended. This is distinct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top