Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for GoSyscallBegin (0.28 sec)

  1. src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple.go

    	// One goroutine enters a syscall.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    	b0.Event("GoSyscallBegin", testgen.Seq(1), testgen.NoStack)
    	b0.Event("GoSyscallEndBlocked")
    
    	// A running goroutine steals proc 0.
    	b1 := g.Batch(trace.ThreadID(1), 0)
    	b1.Event("ProcStatus", trace.ProcID(2), go122.ProcRunning)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 988 bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-syscall-steal-proc-reacquire-new-proc.test

    -- expect --
    SUCCESS
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=23
    ProcStatus dt=1 p=1 pstatus=2
    ProcStatus dt=1 p=0 pstatus=1
    GoStatus dt=1 g=1 m=0 gstatus=2
    GoSyscallBegin dt=1 p_seq=1 stack=0
    ProcStart dt=1 p=1 p_seq=1
    GoSyscallEndBlocked dt=1
    EventBatch gen=1 m=1 time=0 size=14
    ProcStatus dt=1 p=2 pstatus=1
    GoStatus dt=1 g=2 m=1 gstatus=2
    ProcSteal dt=1 p=0 p_seq=2 m=0
    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 592 bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc-bare-m.go

    	b0.Event("ProcStatus", trace.ProcID(1), go122.ProcIdle)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    	b0.Event("GoSyscallBegin", testgen.Seq(1), testgen.NoStack)
    	b0.Event("ProcStart", trace.ProcID(1), testgen.Seq(1))
    	b0.Event("GoSyscallEndBlocked")
    
    	// A bare M steals the goroutine's P.
    	b1 := g.Batch(trace.ThreadID(1), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 999 bytes
    - Viewed (0)
  4. src/internal/trace/testdata/generators/go122-syscall-steal-proc-self.go

    	// on that P.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    	b0.Event("GoSyscallBegin", testgen.Seq(1), testgen.NoStack)
    	b0.Event("ProcSteal", trace.ProcID(0), testgen.Seq(2), trace.ThreadID(0))
    	b0.Event("ProcStart", trace.ProcID(0), testgen.Seq(3))
    	b0.Event("GoSyscallEndBlocked")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc.go

    	b0.Event("ProcStatus", trace.ProcID(1), go122.ProcIdle)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    	b0.Event("GoSyscallBegin", testgen.Seq(1), testgen.NoStack)
    	b0.Event("ProcStart", trace.ProcID(1), testgen.Seq(1))
    	b0.Event("GoSyscallEndBlocked")
    
    	// A running goroutine steals proc 0.
    	b1 := g.Batch(trace.ThreadID(1), 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)
  6. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    	b0.Event("ProcStart", trace.ProcID(0), testgen.Seq(1))
    	b0.Event("GoStatus", trace.GoID(4), trace.NoThread, go122.GoRunnable)
    	b0.Event("GoStart", trace.GoID(4), testgen.Seq(1))
    	b0.Event("GoSyscallBegin", testgen.Seq(2), testgen.NoStack)
    	b0.Event("GoDestroySyscall")
    
    	// A new Go-created thread with the same ID appears and
    	// starts running, then tries to steal the P from the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/runtime/tracestatus.go

    	// traceProcSyscall. It's used in the very specific case
    	// where the first a P is mentioned in a generation is
    	// part of a ProcSteal event. If that's the first time
    	// it's mentioned, then there's no GoSyscallBegin to
    	// connect the P stealing back to at that point. This
    	// special state indicates this to the parser, so it
    	// doesn't try to find a GoSyscallEndBlocked that
    	// corresponds with the ProcSteal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top