Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TracebackInnerFrames (0.76 sec)

  1. src/runtime/traceback.go

    // In this file, the return PC is always called LR, no matter how it was found.
    
    const usesLR = sys.MinFrameSize > 0
    
    const (
    	// tracebackInnerFrames is the number of innermost frames to print in a
    	// stack trace. The total maximum frames is tracebackInnerFrames +
    	// tracebackOuterFrames.
    	tracebackInnerFrames = 50
    
    	// tracebackOuterFrames is the number of outermost frames to print in a
    	// stack trace.
    	tracebackOuterFrames = 50
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/runtime/traceback_test.go

    	// physical frame forward.
    	for _, elided := range []int{0, 1, 10} {
    		t.Run(fmt.Sprintf("elided=%d", elided), func(t *testing.T) {
    			n := elided + runtime.TracebackInnerFrames + runtime.TracebackOuterFrames
    
    			// Start a new goroutine so we have control over the whole stack.
    			stackChan := make(chan string)
    			go tteStack(n, stackChan)
    			stack := <-stackChan
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  3. src/runtime/export_test.go

    var Memmove = memmove
    var MemclrNoHeapPointers = memclrNoHeapPointers
    
    var CgoCheckPointer = cgoCheckPointer
    
    const CrashStackImplemented = crashStackImplemented
    
    const TracebackInnerFrames = tracebackInnerFrames
    const TracebackOuterFrames = tracebackOuterFrames
    
    var MapKeys = keys
    var MapValues = values
    
    var LockPartialOrder = lockPartialOrder
    
    type TimeTimer = timeTimer
    
    type LockRank lockRank
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    	n := int32(len(callerAncestors)) + 1
    	if n > debug.tracebackancestors {
    		n = debug.tracebackancestors
    	}
    	ancestors := make([]ancestorInfo, n)
    	copy(ancestors[1:], callerAncestors)
    
    	var pcs [tracebackInnerFrames]uintptr
    	npcs := gcallers(callergp, 0, pcs[:])
    	ipcs := make([]uintptr, npcs)
    	copy(ipcs, pcs[:])
    	ancestors[0] = ancestorInfo{
    		pcs:  ipcs,
    		goid: callergp.goid,
    		gopc: callergp.gopc,
    	}
    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