- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for inSyscall (0.53 sec)
-
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/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)