- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 148 for syscallpc (0.68 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/cmd/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s
#include "textflag.h" // // System call support for mips64, OpenBSD // // Just jump to package syscall's implementation for all these functions. // The runtime may know about them. TEXT ·Syscall(SB),NOSPLIT,$0-56 JMP syscall·Syscall(SB) TEXT ·Syscall6(SB),NOSPLIT,$0-80 JMP syscall·Syscall6(SB) TEXT ·Syscall9(SB),NOSPLIT,$0-104 JMP syscall·Syscall9(SB) TEXT ·RawSyscall(SB),NOSPLIT,$0-56
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 677 bytes - Viewed (0)