Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GoDestroySyscall (0.23 sec)

  1. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    	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
    	// first thread. The stealing is interesting because if
    	// the parser handles GoDestroySyscall wrong, then we
    	// have a self-steal here potentially that doesn't make
    	// sense.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/generators/go122-create-syscall-with-p.go

    	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")
    	b0.Event("GoSyscallBegin", testgen.Seq(3), testgen.NoStack)
    	b0.Event("GoDestroySyscall")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-create-syscall-with-p.test

    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
    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Stacks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 624 bytes
    - Viewed (0)
  4. src/internal/trace/testdata/tests/go122-create-syscall-reuse-thread-id.test

    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
    ProcSteal dt=1 p=0 p_seq=3 m=0
    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 652 bytes
    - Viewed (0)
  5. src/internal/trace/event/go122/event.go

    		IsTimedEvent: true,
    	},
    	EvGoDestroy: event.Spec{
    		Name:         "GoDestroy",
    		Args:         []string{"dt"},
    		IsTimedEvent: true,
    	},
    	EvGoDestroySyscall: event.Spec{
    		Name:         "GoDestroySyscall",
    		Args:         []string{"dt"},
    		IsTimedEvent: true,
    	},
    	EvGoStop: event.Spec{
    		Name:         "GoStop",
    		Args:         []string{"dt", "reason_string", "stack"},
    		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

    }
    
    // GoDestroySyscall indicates that a goroutine has transitioned from GoSyscall to dead.
    //
    // Must not have a P.
    //
    // This occurs when Go code returns back to C. On pthread platforms it occurs only when
    // the C thread is destroyed.
    func (tl traceLocker) GoDestroySyscall() {
    	// N.B. If we trace a status here, we must never have a P, and we must be on a goroutine
    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/runtime/proc.go

    	}
    
    	// Return mp.curg to dead state.
    	casgstatus(mp.curg, _Gsyscall, _Gdead)
    	mp.curg.preemptStop = false
    	sched.ngsys.Add(1)
    
    	if !mp.isExtraInSig {
    		if trace.ok() {
    			trace.GoDestroySyscall()
    			traceRelease(trace)
    		}
    	}
    
    	// Trash syscalltick so that it doesn't line up with mp.old.syscalltick anymore.
    	//
    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