- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 48 for syscallsp (5.12 sec)
-
src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc.go
// license that can be found in the LICENSE file. // Tests syscall P stealing. package main import ( "internal/trace" "internal/trace/event/go122" testgen "internal/trace/internal/testgen/go122" ) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { g := t.Generation(1) // One goroutine enters a syscall, grabs a P, and starts running. b0 := g.Batch(trace.ThreadID(0), 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.1K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-syscall-steal-proc-reacquire-new-proc.test
Carlos Amedee <******@****.***> 1715265901 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 592 bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-syscall-steal-proc-simple-bare-m.test
Carlos Amedee <******@****.***> 1715265901 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 472 bytes - Viewed (0) -
src/cmd/trace/procgen.go
// Goroutine exited a blocked syscall. gs.blockedSyscallEnd(ev.Time(), ev.Stack(), ctx) } // Handle syscalls. if to == trace.GoSyscall && ev.Proc() != trace.NoProc { start := ev.Time() if from == trace.GoUndetermined { // Back-date the event to the start of the trace. start = ctx.startTime } // Write down that we've entered a syscall. Note: we might have no P here
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/cmd/trace/threadgen.go
} if from == trace.GoSyscall { // Exiting syscall. gs.syscallEnd(ev.Time(), to != trace.GoRunning, ctx) } // Handle syscalls. if to == trace.GoSyscall { start := ev.Time() if from == trace.GoUndetermined { // Back-date the event to the start of the trace. start = ctx.startTime } // Write down that we've entered a syscall. Note: we might have no P here
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 5.7K bytes - Viewed (0) -
src/runtime/debugcall.go
// No user calls from the system stack. if getg() != getg().m.curg { return debugCallSystemStack } if sp := getcallersp(); !(getg().stack.lo < sp && sp <= getg().stack.hi) { // Fast syscalls (nanotime) and racecall switch to the // g0 stack without switching g. We can't safely make // a call in this state. (We can't even safely // systemstack.) return debugCallSystemStack }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 20:50:21 UTC 2024 - 7.1K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple-bare-m.go
// license that can be found in the LICENSE file. // Tests syscall P stealing. package main import ( "internal/trace" "internal/trace/event/go122" testgen "internal/trace/internal/testgen/go122" ) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { g := t.Generation(1) // One goroutine enters a syscall. b0 := g.Batch(trace.ThreadID(0), 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 855 bytes - Viewed (0) -
src/cmd/trace/jsontrace_test.go
checkMetaNamesEmitted(t, data, "thread_name", []string{"GC", "Network", "Timers", "Syscalls", "Proc 0"}) checkProcStartStop(t, data) checkSyscalls(t, data) checkNetworkUnblock(t, data) // TODO(mknyszek): Check for flow events. }) } } func checkSyscalls(t *testing.T, data format.Data) { data = filterViewerTrace(data, filterEventName("syscall"), filterStackRootFunc("main.blockingSyscall")) if len(data.Events) <= 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 7.8K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary-bare-m.go
// license that can be found in the LICENSE file. // Tests syscall P stealing at a generation boundary. package main import ( "internal/trace" "internal/trace/event/go122" testgen "internal/trace/internal/testgen/go122" ) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { g := t.Generation(1) // One goroutine is exiting with a syscall. It already // acquired a new P.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 956 bytes - Viewed (0) -
src/os/path_windows_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package os_test import ( "fmt" "internal/syscall/windows" "internal/testenv" "os" "path/filepath" "strings" "syscall" "testing" ) func TestAddExtendedPrefix(t *testing.T) { // Test addExtendedPrefix instead of fixLongPath so the path manipulation code
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:37:32 UTC 2024 - 8K bytes - Viewed (0)