Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TracebackAncestors (0.2 sec)

  1. src/runtime/runtime1.go

    	{name: "traceallocfree", atomic: &debug.traceallocfree},
    	{name: "tracecheckstackownership", value: &debug.traceCheckStackOwnership},
    	{name: "tracebackancestors", value: &debug.tracebackancestors},
    	{name: "tracefpunwindoff", value: &debug.tracefpunwindoff},
    }
    
    func parsedebugvars() {
    	// defaults
    	debug.cgocheck = 1
    	debug.invalidptr = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/runtime/stack_test.go

    func TestTracebackAncestors(t *testing.T) {
    	goroutineRegex := regexp.MustCompile(`goroutine [0-9]+ \[`)
    	for _, tracebackDepth := range []int{0, 1, 5, 50} {
    		output := runTestProg(t, "testprog", "TracebackAncestors", fmt.Sprintf("GODEBUG=tracebackancestors=%d", tracebackDepth))
    
    		numGoroutines := 3
    		numFrames := 2
    		ancestorsExpected := numGoroutines
    		if numGoroutines > tracebackDepth {
    			ancestorsExpected = tracebackDepth
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  3. src/runtime/extern.go

    	processors, threads and goroutines.
    
    	schedtrace: setting schedtrace=X causes the scheduler to emit a single line to standard
    	error every X milliseconds, summarizing the scheduler state.
    
    	tracebackancestors: setting tracebackancestors=N extends tracebacks with the stacks at
    	which goroutines were created, where N limits the number of ancestor goroutines to
    	report. This also extends the information returned by runtime.Stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. src/runtime/runtime2.go

    	gopc          uintptr         // pc of go statement that created this goroutine
    	ancestors     *[]ancestorInfo // ancestor information goroutine(s) that created this goroutine (only used if debug.tracebackancestors)
    	startpc       uintptr         // pc of goroutine function
    	racectx       uintptr
    	waiting       *sudog         // sudog structures this g is waiting on (that have a valid elem ptr); in lock order
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top