- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for inSyscall (0.13 sec)
-
src/cmd/trace/procgen.go
// (i.e. the G has been blocked in a syscall). gs.syscallBegin(start, ev.Proc(), ev.Stack()) g.inSyscall[ev.Proc()] = gs } // Check if we're exiting a non-blocking syscall. _, didNotBlock := g.inSyscall[ev.Proc()] if from == trace.GoSyscall && didNotBlock { gs.syscallEnd(ev.Time(), false, ctx) delete(g.inSyscall, ev.Proc()) } // Note down the goroutine transition.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 6.1K bytes - Viewed (0) -
src/internal/trace/traceviewer/format/format.go
) type GoroutineCountersArg struct { Running uint64 Runnable uint64 GCWaiting uint64 } type ThreadCountersArg struct { Running int64 InSyscall int64 } type ThreadIDArg struct { ThreadID uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/traceruntime.go
tl.eventWriter(traceGoSyscall, procStatus).commit(ev) } // ProcSteal indicates that our current M stole a P from another M. // // inSyscall indicates that we're stealing the P from a syscall context. // // The caller must have ownership of pp. func (tl traceLocker) ProcSteal(pp *p, inSyscall bool) { // Grab the M ID we stole from. mStolenFrom := pp.trace.mSyscallID pp.trace.mSyscallID = -1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 25.7K bytes - Viewed (0) -
src/internal/trace/traceviewer/emitter.go
e.OptionalEvent(&format.Event{ Name: "Threads", Phase: "C", Time: viewerTime(ts), PID: 1, Arg: &format.ThreadCountersArg{ Running: int64(e.threadStats[ThreadStateRunning]), InSyscall: int64(e.threadStats[ThreadStateInSyscall]), // TODO(mknyszek): Why is InSyscallRuntime not included here? }, }) } e.prevThreadStats = e.threadStats }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:58 UTC 2023 - 20.4K bytes - Viewed (0) -
src/runtime/cgocall.go
mp.incgo = false mp.ncgo-- osPreemptExtExit(mp) // Save current syscall parameters, so m.winsyscall can be // used again if callback decide to make syscall. winsyscall := mp.winsyscall exitsyscall() getg().m.winsyscall = winsyscall // Note that raceacquire must be called only after exitsyscall has // wired this M to a P. if raceenabled {
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/syscall_windows.go
// calls back into Go. c := &getg().m.winsyscall c.fn = fn c.n = uintptr(len(args)) if c.n != 0 { c.args = uintptr(noescape(unsafe.Pointer(&args[0]))) } cgocall(asmstdcallAddr, unsafe.Pointer(c)) // cgocall may reschedule us on to a different M, // but it copies the return values into the new M's // so we can read them from there. c = &getg().m.winsyscall return c.r1, c.r2, c.err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
src/runtime/traceback.go
g: gp.guintptr(), cgoCtxt: len(gp.cgoCtxt) - 1, calleeFuncID: abi.FuncIDNormal, flags: flags, } isSyscall := frame.pc == pc0 && frame.sp == sp0 && pc0 == gp.syscallpc && sp0 == gp.syscallsp u.resolveInternal(true, isSyscall) } func (u *unwinder) valid() bool { return u.frame.pc != 0 } // resolveInternal fills in u.frame based on u.frame.fn, pc, and sp. //
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/cmd/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s
// go run mksyscall_zos_s390x.go -o_sysnum zsysnum_zos_s390x.go -o_syscall zsyscall_zos_s390x.go -i_syscall syscall_zos_s390x.go -o_asm zsymaddr_zos_s390x.s // Code generated by the command above; see README.md. DO NOT EDIT. //go:build zos && s390x #include "textflag.h" // provide the address of function variable to be fixed up. // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT TEXT ·get_FlistxattrAddr(SB), NOSPLIT|NOFRAME, $0-8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 8.8K bytes - Viewed (0) -
src/runtime/runtime2.go
// these are here because they are too large to be on the stack // of low-level NOSPLIT functions. libcall libcall libcallpc uintptr // for cpu profiler libcallsp uintptr libcallg guintptr winsyscall winlibcall // stores syscall parameters on windows vdsoSP uintptr // SP for traceback while in VDSO call (0 if not in call) vdsoPC uintptr // PC for traceback while in VDSO call
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/cmd/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go
// go run mksyscall_zos_s390x.go -o_sysnum zsysnum_zos_s390x.go -o_syscall zsyscall_zos_s390x.go -i_syscall syscall_zos_s390x.go -o_asm zsymaddr_zos_s390x.s // Code generated by the command above; see README.md. DO NOT EDIT. //go:build zos && s390x package unix const ( SYS_LOG = 0x17 // 23 SYS_COSH = 0x18 // 24 SYS_TANH = 0x19 // 25
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 146.6K bytes - Viewed (0)