Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for GoSyscallEndBlocked (0.35 sec)

  1. src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc-bare-m.go

    	b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoSyscall)
    	b0.Event("ProcStatus", trace.ProcID(1), go122.ProcIdle)
    	b0.Event("ProcStart", trace.ProcID(1), testgen.Seq(1))
    	b0.Event("GoSyscallEndBlocked")
    
    	// A bare M stole the goroutine's P at the generation boundary.
    	b1 := g.Batch(trace.ThreadID(1), 0)
    	b1.Event("ProcStatus", trace.ProcID(0), go122.ProcSyscallAbandoned)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1009 bytes
    - Viewed (0)
  2. src/internal/trace/testdata/generators/go122-syscall-steal-proc-ambiguous.go

    	b0.Event("GoSyscallBegin", testgen.Seq(1), testgen.NoStack)
    	b0.Event("GoSyscallEnd")
    	b0.Event("GoSyscallBegin", testgen.Seq(2), 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)
    	b1.Event("GoStatus", trace.GoID(2), trace.ThreadID(1), go122.GoRunning)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-create-syscall-with-p.go

    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("GoCreateSyscall", trace.GoID(4))
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcIdle)
    	b0.Event("ProcStart", trace.ProcID(0), testgen.Seq(1))
    	b0.Event("GoSyscallEndBlocked")
    	b0.Event("GoStart", trace.GoID(4), testgen.Seq(1))
    	b0.Event("GoSyscallBegin", testgen.Seq(2), testgen.NoStack)
    	b0.Event("GoDestroySyscall")
    	b0.Event("GoCreateSyscall", trace.GoID(4))
    	b0.Event("GoSyscallEnd")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    	g := t.Generation(1)
    
    	// A C thread calls into Go and acquires a P. It returns
    	// back to C, destroying the G.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("GoCreateSyscall", trace.GoID(4))
    	b0.Event("GoSyscallEndBlocked")
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcIdle)
    	b0.Event("ProcStart", trace.ProcID(0), testgen.Seq(1))
    	b0.Event("GoStatus", trace.GoID(4), trace.NoThread, go122.GoRunnable)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/runtime/tracestatus.go

    	// 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.
    	traceProcSyscallAbandoned
    )
    
    // writeGoStatus emits a GoStatus event as well as any active ranges on the goroutine.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/internal/trace/event/go122/event.go

    		Name:         "GoSyscallEnd",
    		Args:         []string{"dt"},
    		StartEv:      EvGoSyscallBegin,
    		IsTimedEvent: true,
    	},
    	EvGoSyscallEndBlocked: event.Spec{
    		Name:         "GoSyscallEndBlocked",
    		Args:         []string{"dt"},
    		StartEv:      EvGoSyscallBegin,
    		IsTimedEvent: true,
    	},
    	EvGoStatus: event.Spec{
    		Name:         "GoStatus",
    		Args:         []string{"dt", "g", "m", "gstatus"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. src/internal/trace/oldtrace.go

    // 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,
    // sharing a single evTable for all events.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. src/cmd/trace/testdata/go122.test

    ProcStart dt=206 p=7 p_seq=14
    GoSyscallEndBlocked dt=3
    GoStart dt=1 g=51 g_seq=2
    GoDestroy dt=12
    ProcStop dt=18
    ProcStart dt=849 p=5 p_seq=6
    ProcStop dt=16
    ProcStart dt=1359 p=5 p_seq=7
    ProcStop dt=12
    ProcStart dt=2079 p=5 p_seq=9
    GoStart dt=1134 g=52 g_seq=1
    GoSyscallBegin dt=39 p_seq=10 stack=78
    ProcStart dt=232 p=5 p_seq=12
    GoSyscallEndBlocked dt=2
    GoStart dt=1 g=52 g_seq=2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
  9. src/internal/trace/order.go

    	}
    
    	// Tell the M it has no P so it can proceed.
    	//
    	// This is safe because we know the P was in a syscall and
    	// the other M must be trying to get out of the syscall.
    	// GoSyscallEndBlocked cannot advance until the corresponding
    	// M loses its P.
    	mState.p = NoProc
    	o.queue.push(Event{table: evt, ctx: curCtx, base: *ev})
    	return newCtx, true, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
Back to top