- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for GoSysCall (0.14 sec)
-
src/internal/trace/oldtrace.go
// events to determine the correct translation. GoSyscall, which is an // instantaneous event, gets turned into a 1 ns long pair of // GoSyscallStart+GoSyscallEnd, unless we observe a GoSysBlock, in which case we // emit a GoSyscallStart+GoSyscallEndBlocked pair with the correct duration // (i.e. starting at the original GoSyscall). // // The resulting trace treats the old trace as a single, large generation,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 17.2K bytes - Viewed (0) -
src/internal/trace/event.go
s = goStateTransition(e.ctx.G, GoRunning, GoSyscall) s.Stack = e.Stack() // This event references the resource the event happened on. case go122.EvGoSyscallEnd: s = goStateTransition(e.ctx.G, GoSyscall, GoRunning) s.Stack = e.Stack() // This event references the resource the event happened on. case go122.EvGoSyscallEndBlocked: s = goStateTransition(e.ctx.G, GoSyscall, GoRunnable)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:39:00 UTC 2024 - 28.9K bytes - Viewed (0) -
src/runtime/traceruntime.go
// We can fix this by acquiring the goroutine's scan bit. w = w.writeGoStatus(gp.goid, -1, traceGoWaiting, gp.inMarkAssist, 0) } return w } // GoSysCall emits a GoSyscallBegin event. // // Must be called with a valid P. func (tl traceLocker) GoSysCall() { // Scribble down the M that the P is currently attached to. pp := tl.mp.p.ptr() pp.trace.mSyscallID = int64(tl.mp.procid)
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/testtrace/validation.go
} func (v *Validator) getOrCreateThread(e *errAccumulator, ev trace.Event, m trace.ThreadID) *schedContext { lenient := func() bool { // Be lenient about GoUndetermined -> GoSyscall transitions if they // originate from an old trace. These transitions lack thread // information in trace formats older than 1.22. if !v.Go121 { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.9K bytes - Viewed (0) -
src/internal/trace/event/go122/event.go
}, } type GoStatus uint8 const ( GoBad GoStatus = iota GoRunnable GoRunning GoSyscall GoWaiting ) func (s GoStatus) String() string { switch s { case GoRunnable: return "Runnable" case GoRunning: return "Running" case GoSyscall: return "Syscall" case GoWaiting: return "Waiting" } return "Bad" } type ProcStatus uint8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 14.8K bytes - Viewed (0) -
src/internal/trace/summary.go
// Record sched latency time as we transition out of runnable. if g.lastRunnableTime != 0 { g.SchedWaitTime += ev.Time().Sub(g.lastRunnableTime) g.lastRunnableTime = 0 } case GoSyscall: // Record syscall execution time and syscall block time as we transition out of syscall. if g.lastSyscallTime != 0 { if g.lastSyscallBlockTime != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 20.7K bytes - Viewed (0) -
src/cmd/trace/pprof.go
}) } // computePprofSyscall returns a computePprofFunc that generates a syscall pprof-like // profile (time spent in syscalls). func computePprofSyscall() computePprofFunc { return makeComputePprofFunc(trace.GoSyscall, func(_ string) bool { return true }) } // computePprofSched returns a computePprofFunc that generates a scheduler latency pprof-like profile
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.1K bytes - Viewed (0) -
src/cmd/trace/gstate.go
// startRunning is the most recent event that caused a goroutine to // transition to GoRunning. startRunningTime trace.Time // startSyscall is the most recent event that caused a goroutine to // transition to GoSyscall. syscall struct { time trace.Time stack trace.Stack active bool } // startBlockReason is the StateTransition.Reason of the most recent // event that caused a goroutine to transition to GoWaiting.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.9K bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/parser.go
EvGoBlockSync: {"GoBlockSync", 5, true, []string{}, nil}, EvGoBlockCond: {"GoBlockCond", 5, true, []string{}, nil}, EvGoBlockNet: {"GoBlockNet", 5, true, []string{}, nil}, EvGoSysCall: {"GoSysCall", 5, true, []string{}, nil}, EvGoSysExit: {"GoSysExit", 5, false, []string{"g", "seq", "ts"}, nil}, EvGoSysBlock: {"GoSysBlock", 5, false, []string{}, nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 46.8K bytes - Viewed (0)