Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for GoCreateSyscall (0.29 sec)

  1. 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)
  2. src/internal/trace/testdata/tests/go122-create-syscall-with-p.test

    FAILURE ".*expected a proc but didn't have one.*"
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=34
    GoCreateSyscall dt=1 new_g=4
    ProcStatus dt=1 p=0 pstatus=2
    ProcStart dt=1 p=0 p_seq=1
    GoSyscallEndBlocked dt=1
    GoStart dt=1 g=4 g_seq=1
    GoSyscallBegin dt=1 p_seq=2 stack=0
    GoDestroySyscall dt=1
    GoCreateSyscall dt=1 new_g=4
    GoSyscallEnd dt=1
    GoSyscallBegin dt=1 p_seq=3 stack=0
    GoDestroySyscall dt=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 624 bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-create-syscall-reuse-thread-id.test

    -- expect --
    SUCCESS
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=37
    GoCreateSyscall dt=1 new_g=4
    GoSyscallEndBlocked dt=1
    ProcStatus dt=1 p=0 pstatus=2
    ProcStart dt=1 p=0 p_seq=1
    GoStatus dt=1 g=4 m=18446744073709551615 gstatus=1
    GoStart dt=1 g=4 g_seq=1
    GoSyscallBegin dt=1 p_seq=2 stack=0
    GoDestroySyscall dt=1
    EventBatch gen=1 m=0 time=0 size=13
    ProcStatus dt=1 p=1 pstatus=2
    ProcStart dt=1 p=1 p_seq=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 652 bytes
    - Viewed (0)
  4. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    }
    
    func gen(t *testgen.Trace) {
    	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))
    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/internal/trace/event/go122/event.go

    		Name:         "GoCreate",
    		Args:         []string{"dt", "new_g", "new_stack", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{3, 2},
    	},
    	EvGoCreateSyscall: event.Spec{
    		Name:         "GoCreateSyscall",
    		Args:         []string{"dt", "new_g"},
    		IsTimedEvent: true,
    	},
    	EvGoStart: event.Spec{
    		Name:         "GoStart",
    		Args:         []string{"dt", "g", "g_seq"},
    		IsTimedEvent: true,
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. src/runtime/traceruntime.go

    }
    
    // GoCreateSyscall indicates that a goroutine has transitioned from dead to GoSyscall.
    //
    // Unlike GoCreate, the caller must be running on gp.
    //
    // This occurs when C code calls into Go. On pthread platforms it occurs only when
    // a C thread calls into Go code for the first time.
    func (tl traceLocker) GoCreateSyscall(gp *g) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. src/internal/trace/order.go

    	// really confused if we try to steal the P is this is running
    	// with later. The new M with the same ID could even try to
    	// steal back this P from itself!
    	//
    	// The runtime is careful to make sure that any GoCreateSyscall
    	// event will enter the runtime emitting events for reacquiring a P.
    	//
    	// Note: we might have a P here. The P might not be released
    	// eagerly by the runtime, and it might get stolen back later
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  8. src/runtime/proc.go

    		trace = traceAcquire()
    	}
    
    	// mp.curg is now a real goroutine.
    	casgstatus(mp.curg, _Gdead, _Gsyscall)
    	sched.ngsys.Add(-1)
    
    	if !signal {
    		if trace.ok() {
    			trace.GoCreateSyscall(mp.curg)
    			traceRelease(trace)
    		}
    	}
    	mp.isExtraInSig = signal
    }
    
    // Acquire an extra m and bind it to the C thread when a pthread key has been created.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top